Skip to content

Conversation

@tyb0807
Copy link
Contributor

@tyb0807 tyb0807 commented Dec 23, 2025

AMDGPU code generation frequently creates tensor and address descriptors using sequences of insertelement instructions. When these patterns have significant field reuse or cross-iteration dependencies, the current approach generates inefficient REG_SEQUENCE operations in MIR, instead of INSERT_SUBREG chains, leading to suboptimal register allocation.

This PR introduces the AMDGPUTDMOptimization pass that:

  1. Pattern Detection: Identifies descriptor creation chains with reusable constant fields
  2. Grouping: Groups similar patterns to maximize optimization opportunities
  3. Transformation: Converts insertelement chains to alloca + field updates in address space 5
  4. Integration: Works with SROA to generate INSERT_SUBREG operations for optimal register allocation

@llvmbot
Copy link
Member

llvmbot commented Dec 23, 2025

@llvm/pr-subscribers-backend-amdgpu

Author: None (tyb0807)

Changes

AMDGPU code generation frequently creates tensor and address descriptors using sequences of insertelement instructions. When these patterns have significant field reuse or cross-iteration dependencies, the current approach generates inefficient REG_SEQUENCE operations in MIR, instead of INSERT_SUBREG chains, leading to suboptimal register allocation.

This PR introduces the AMDGPUTDMOptimization pass that:

  1. Pattern Detection: Identifies descriptor creation chains with reusable constant fields
  2. Grouping: Groups similar patterns to maximize optimization opportunities
  3. Transformation: Converts insertelement chains to alloca + field updates in address space 5
  4. Integration: Works with SROA to generate INSERT_SUBREG operations for optimal register allocation

Patch is 50.52 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/173324.diff

5 Files Affected:

  • (modified) llvm/lib/Target/AMDGPU/AMDGPU.h (+3)
  • (added) llvm/lib/Target/AMDGPU/AMDGPUTDMOptimization.cpp (+495)
  • (modified) llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp (+11)
  • (modified) llvm/lib/Target/AMDGPU/CMakeLists.txt (+1)
  • (added) llvm/test/CodeGen/AMDGPU/tdm-optimization.ll (+485)
diff --git a/llvm/lib/Target/AMDGPU/AMDGPU.h b/llvm/lib/Target/AMDGPU/AMDGPU.h
index 5df11a45b4889..e0110d33cf5f5 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPU.h
+++ b/llvm/lib/Target/AMDGPU/AMDGPU.h
@@ -59,6 +59,7 @@ FunctionPass *createAMDGPUCodeGenPreparePass();
 FunctionPass *createAMDGPULateCodeGenPrepareLegacyPass();
 FunctionPass *createAMDGPUReserveWWMRegsPass();
 FunctionPass *createAMDGPURewriteOutArgumentsPass();
+FunctionPass *createAMDGPUTDMOptimizationPass();
 ModulePass *
 createAMDGPULowerModuleLDSLegacyPass(const AMDGPUTargetMachine *TM = nullptr);
 ModulePass *createAMDGPULowerBufferFatPointersPass();
@@ -170,6 +171,8 @@ extern char &AMDGPUPrepareAGPRAllocLegacyID;
 void initializeAMDGPUReserveWWMRegsLegacyPass(PassRegistry &);
 extern char &AMDGPUReserveWWMRegsLegacyID;
 
+void initializeAMDGPUTDMOptimizationPass(PassRegistry &);
+
 void initializeAMDGPURewriteOutArgumentsPass(PassRegistry &);
 extern char &AMDGPURewriteOutArgumentsID;
 
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUTDMOptimization.cpp b/llvm/lib/Target/AMDGPU/AMDGPUTDMOptimization.cpp
new file mode 100644
index 0000000000000..6bcb4acd87b77
--- /dev/null
+++ b/llvm/lib/Target/AMDGPU/AMDGPUTDMOptimization.cpp
@@ -0,0 +1,495 @@
+//===-- AMDGPUTDMOptimization.cpp - TDM Descriptor Optimization ----------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+//
+// This pass optimizes Tensor Data Movement (TDM) descriptor creation patterns.
+// It identifies insertelement chains that create descriptors and transforms them
+// to use alloca+field updates, which SROA later optimizes to INSERT_SUBREG.
+//
+//===----------------------------------------------------------------------===//
+
+#include "AMDGPU.h"
+#include "AMDGPUSubtarget.h"
+#include "llvm/ADT/SmallBitVector.h"
+#include "llvm/Analysis/LoopInfo.h"
+#include "llvm/IR/BasicBlock.h"
+#include "llvm/IR/Function.h"
+#include "llvm/IR/IRBuilder.h"
+#include "llvm/IR/Instructions.h"
+#include "llvm/IR/Type.h"
+#include "llvm/InitializePasses.h"
+#include "llvm/Pass.h"
+#include "llvm/Support/CommandLine.h"
+#include "llvm/Support/Debug.h"
+#include "llvm/Transforms/Utils/BasicBlockUtils.h"
+
+using namespace llvm;
+
+#define DEBUG_TYPE "amdgpu-tdm-optimization"
+
+static cl::opt<unsigned>
+TDMOptBenefitThreshold("amdgpu-tdm-opt-threshold", cl::Hidden, cl::init(10),
+                       cl::desc("Minimum optimization benefit threshold for TDM descriptor optimization"));
+
+namespace llvm {
+  void initializeAMDGPUTDMOptimizationPass(PassRegistry &);
+}
+
+namespace {
+
+//===----------------------------------------------------------------------===//
+// Pattern Detection Data Structures
+//===----------------------------------------------------------------------===//
+
+/// Represents a single descriptor creation pattern
+struct DescriptorPattern {
+  Type *DescType;                           ///< <4 x i32> or <8 x i32>
+  Value *BaseValue;                         ///< Base template (constant or computed)
+  SmallVector<InsertElementInst *, 8> Chain; ///< Chain of insertelement instructions
+  SmallVector<unsigned, 8> VariableFields;  ///< Fields that change
+  SmallVector<unsigned, 8> ConstantFields;  ///< Fields that stay constant
+  BasicBlock *Location;                      ///< Where the pattern is located
+  Loop *ContainingLoop;                      ///< Loop containing this pattern (if any)
+
+  /// Calculate field reuse ratio (constant fields / total fields)
+  float getFieldReuseRatio() const {
+    unsigned totalFields = cast<FixedVectorType>(DescType)->getNumElements();
+    return (float)ConstantFields.size() / totalFields;
+  }
+
+  /// Check if this pattern is worth optimizing
+  bool isWorthOptimizing() const {
+    // Always optimize if in loop with reuse potential
+    if (ContainingLoop && getFieldReuseRatio() >= 0.5f)
+      return true;
+
+    // Optimize if significant field reuse
+    if (getFieldReuseRatio() >= 0.75f)
+      return true;
+
+    // Optimize address descriptors (common case)
+    if (isAddressDescriptor() && ConstantFields.size() >= 1)
+      return true;
+
+    return false;
+  }
+
+  /// Check if this is an address descriptor (<4 x i32>)
+  bool isAddressDescriptor() const {
+    auto *VecTy = cast<FixedVectorType>(DescType);
+    return VecTy->getNumElements() == 4 && VecTy->getElementType()->isIntegerTy(32);
+  }
+
+  /// Check if this is a tensor descriptor (<8 x i32>)
+  bool isTensorDescriptor() const {
+    auto *VecTy = cast<FixedVectorType>(DescType);
+    return VecTy->getNumElements() == 8 && VecTy->getElementType()->isIntegerTy(32);
+  }
+};
+
+/// Groups similar descriptor patterns for optimization
+struct DescriptorGroup {
+  SmallVector<DescriptorPattern, 4> Patterns;
+  Type *SharedType;
+  Value *SharedBase;  ///< Common base value (if any)
+  SmallVector<unsigned, 8> SharedConstantFields;
+
+  /// Calculate total optimization benefit
+  unsigned getOptimizationBenefit() const {
+    unsigned benefit = 0;
+    for (const auto &pattern : Patterns) {
+      // Base benefit from field reuse
+      benefit += pattern.ConstantFields.size() * 2;
+
+      // Extra benefit for loop patterns
+      if (pattern.ContainingLoop)
+        benefit *= 5;
+    }
+    return benefit;
+  }
+};
+
+//===----------------------------------------------------------------------===//
+// AMDGPUTDMOptimization Pass
+//===----------------------------------------------------------------------===//
+
+class AMDGPUTDMOptimization : public FunctionPass {
+private:
+  LoopInfo *LI = nullptr;
+
+  /// Detected patterns in the function
+  SmallVector<DescriptorPattern, 16> DetectedPatterns;
+
+  /// Groups of optimizable patterns
+  SmallVector<DescriptorGroup, 8> OptimizationGroups;
+
+public:
+  static char ID;
+
+  AMDGPUTDMOptimization() : FunctionPass(ID) {
+    initializeAMDGPUTDMOptimizationPass(*PassRegistry::getPassRegistry());
+  }
+
+  bool runOnFunction(Function &F) override;
+  void getAnalysisUsage(AnalysisUsage &AU) const override;
+
+private:
+  /// Main optimization phases
+  bool detectDescriptorPatterns(Function &F);
+  void groupSimilarPatterns();
+  bool transformPatterns(Function &F);
+
+  /// Pattern detection helpers
+  bool isDescriptorType(Type *Ty) const;
+  DescriptorPattern analyzeInsertChain(InsertElementInst *FinalInsert);
+  Value *extractBaseValue(const DescriptorPattern &Pattern);
+
+  /// Transformation helpers
+  bool transformDescriptorGroup(DescriptorGroup &Group, Function &F);
+  Value *createSharedStorage(DescriptorGroup &Group, IRBuilder<> &Builder);
+  void transformSinglePattern(DescriptorPattern &Pattern, Value *SharedStorage,
+                             IRBuilder<> &Builder);
+
+  /// Utility functions
+  Loop *getContainingLoop(BasicBlock *BB);
+  bool arePatternsSimilar(const DescriptorPattern &A, const DescriptorPattern &B);
+};
+
+//===----------------------------------------------------------------------===//
+// Pass Implementation
+//===----------------------------------------------------------------------===//
+
+bool AMDGPUTDMOptimization::runOnFunction(Function &F) {
+  LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
+
+  LLVM_DEBUG(dbgs() << "Running TDM optimization on function: " << F.getName() << "\n");
+
+  // Phase 1: Detect descriptor patterns
+  if (!detectDescriptorPatterns(F)) {
+    LLVM_DEBUG(dbgs() << "No descriptor patterns found\n");
+    return false;
+  }
+
+  LLVM_DEBUG(dbgs() << "Found " << DetectedPatterns.size() << " descriptor patterns\n");
+
+  // Phase 2: Group similar patterns for optimization
+  groupSimilarPatterns();
+
+  LLVM_DEBUG(dbgs() << "Created " << OptimizationGroups.size() << " optimization groups\n");
+
+  // Phase 3: Transform patterns
+  bool Changed = transformPatterns(F);
+
+  // Cleanup for next function
+  DetectedPatterns.clear();
+  OptimizationGroups.clear();
+
+  return Changed;
+}
+
+void AMDGPUTDMOptimization::getAnalysisUsage(AnalysisUsage &AU) const {
+  AU.addRequired<LoopInfoWrapperPass>();
+  AU.setPreservesCFG();
+}
+
+//===----------------------------------------------------------------------===//
+// Pattern Detection
+//===----------------------------------------------------------------------===//
+
+bool AMDGPUTDMOptimization::detectDescriptorPatterns(Function &F) {
+  bool FoundPatterns = false;
+
+  // Scan function for insertelement instructions that create descriptors
+  for (auto &BB : F) {
+    for (auto &I : BB) {
+      auto *IE = dyn_cast<InsertElementInst>(&I);
+      if (!IE || !isDescriptorType(IE->getType()))
+        continue;
+
+      // Check if this is the final insert in a descriptor creation chain
+      if (!IE->hasOneUse() || isa<InsertElementInst>(*IE->user_begin()))
+        continue;
+
+      // Analyze the complete chain
+      DescriptorPattern Pattern = analyzeInsertChain(IE);
+      if (Pattern.Chain.empty())
+        continue;
+
+      // Check if worth optimizing
+      if (!Pattern.isWorthOptimizing()) {
+        LLVM_DEBUG(dbgs() << "Pattern not worth optimizing: field reuse ratio = "
+                          << Pattern.getFieldReuseRatio() << "\n");
+        continue;
+      }
+
+      LLVM_DEBUG(dbgs() << "Found optimizable pattern: "
+                        << (Pattern.isAddressDescriptor() ? "Address" : "Tensor")
+                        << " descriptor with " << Pattern.ConstantFields.size()
+                        << " constant fields\n");
+
+      DetectedPatterns.push_back(std::move(Pattern));
+      FoundPatterns = true;
+    }
+  }
+
+  return FoundPatterns;
+}
+
+bool AMDGPUTDMOptimization::isDescriptorType(Type *Ty) const {
+  auto *VecTy = dyn_cast<FixedVectorType>(Ty);
+  if (!VecTy || !VecTy->getElementType()->isIntegerTy(32))
+    return false;
+
+  unsigned NumElements = VecTy->getNumElements();
+  return NumElements == 4 || NumElements == 8;  // Address or tensor descriptors
+}
+
+DescriptorPattern AMDGPUTDMOptimization::analyzeInsertChain(InsertElementInst *FinalInsert) {
+  DescriptorPattern Pattern;
+  Pattern.DescType = FinalInsert->getType();
+  Pattern.Location = FinalInsert->getParent();
+  Pattern.ContainingLoop = getContainingLoop(Pattern.Location);
+
+  // Trace back the insertelement chain
+  SmallVector<InsertElementInst *, 8> Chain;
+  Value *CurrentVal = FinalInsert;
+
+  while (auto *IE = dyn_cast<InsertElementInst>(CurrentVal)) {
+    Chain.push_back(IE);
+    CurrentVal = IE->getOperand(0);  // Vector being inserted into
+  }
+
+  // Reverse to get forward order
+  std::reverse(Chain.begin(), Chain.end());
+  Pattern.Chain = Chain;
+
+  // Extract base value (the initial vector)
+  Pattern.BaseValue = extractBaseValue(Pattern);
+
+  // Analyze which fields are constant vs variable
+  unsigned NumElements = cast<FixedVectorType>(Pattern.DescType)->getNumElements();
+  SmallBitVector FieldSet(NumElements, false);
+
+  for (auto *IE : Chain) {
+    if (auto *CI = dyn_cast<ConstantInt>(IE->getOperand(2))) {
+      unsigned Idx = CI->getZExtValue();
+      if (Idx < NumElements) {
+        FieldSet.set(Idx);
+        Pattern.VariableFields.push_back(Idx);
+      }
+    }
+  }
+
+  // Fields not in chain are constant
+  for (unsigned i = 0; i < NumElements; ++i) {
+    if (!FieldSet[i])
+      Pattern.ConstantFields.push_back(i);
+  }
+
+  return Pattern;
+}
+
+Value *AMDGPUTDMOptimization::extractBaseValue(const DescriptorPattern &Pattern) {
+  if (Pattern.Chain.empty())
+    return nullptr;
+
+  // Get the vector being inserted into by the first insert
+  Value *Base = Pattern.Chain[0]->getOperand(0);
+
+  // If base is a constant vector or another recognizable pattern, return it
+  if (isa<Constant>(Base))
+    return Base;
+
+  // For shufflevector results, we might want to trace further back
+  if (auto *SV = dyn_cast<ShuffleVectorInst>(Base))
+    return SV;  // Keep shufflevector as base for now
+
+  return Base;
+}
+
+Loop *AMDGPUTDMOptimization::getContainingLoop(BasicBlock *BB) {
+  return LI ? LI->getLoopFor(BB) : nullptr;
+}
+
+//===----------------------------------------------------------------------===//
+// Pattern Grouping
+//===----------------------------------------------------------------------===//
+
+void AMDGPUTDMOptimization::groupSimilarPatterns() {
+  // Simple grouping strategy: group by type and base similarity
+  for (auto &Pattern : DetectedPatterns) {
+    bool Added = false;
+
+    // Try to add to existing group
+    for (auto &Group : OptimizationGroups) {
+      if (Group.SharedType == Pattern.DescType &&
+          arePatternsSimilar(Group.Patterns[0], Pattern)) {
+        Group.Patterns.push_back(Pattern);
+        Added = true;
+        break;
+      }
+    }
+
+    // Create new group if needed
+    if (!Added) {
+      DescriptorGroup NewGroup;
+      NewGroup.SharedType = Pattern.DescType;
+      NewGroup.SharedBase = Pattern.BaseValue;
+      NewGroup.Patterns.push_back(Pattern);
+      OptimizationGroups.push_back(std::move(NewGroup));
+    }
+  }
+
+  // Remove groups that don't meet optimization criteria
+  OptimizationGroups.erase(
+    std::remove_if(OptimizationGroups.begin(), OptimizationGroups.end(),
+      [](const DescriptorGroup &Group) {
+        return Group.getOptimizationBenefit() < TDMOptBenefitThreshold;
+      }),
+    OptimizationGroups.end()
+  );
+}
+
+bool AMDGPUTDMOptimization::arePatternsSimilar(const DescriptorPattern &A,
+                                               const DescriptorPattern &B) {
+  // Patterns are similar if they have same type and similar field usage
+  if (A.DescType != B.DescType)
+    return false;
+
+  // Check if constant fields overlap significantly
+  SmallBitVector AConstants(cast<FixedVectorType>(A.DescType)->getNumElements());
+  SmallBitVector BConstants(cast<FixedVectorType>(B.DescType)->getNumElements());
+
+  for (unsigned Field : A.ConstantFields)
+    AConstants.set(Field);
+  for (unsigned Field : B.ConstantFields)
+    BConstants.set(Field);
+
+  // Count overlapping constant fields
+  auto Intersection = AConstants & BConstants;
+  unsigned OverlapCount = Intersection.count();
+  unsigned TotalConstants = std::max(AConstants.count(), BConstants.count());
+
+  return TotalConstants > 0 && (float)OverlapCount / TotalConstants >= 0.5f;
+}
+
+//===----------------------------------------------------------------------===//
+// Pattern Transformation
+//===----------------------------------------------------------------------===//
+
+bool AMDGPUTDMOptimization::transformPatterns(Function &F) {
+  bool Changed = false;
+
+  for (auto &Group : OptimizationGroups) {
+    LLVM_DEBUG(dbgs() << "Transforming group with " << Group.Patterns.size()
+                      << " patterns, benefit = " << Group.getOptimizationBenefit() << "\n");
+
+    if (transformDescriptorGroup(Group, F))
+      Changed = true;
+  }
+
+  return Changed;
+}
+
+bool AMDGPUTDMOptimization::transformDescriptorGroup(DescriptorGroup &Group, Function &F) {
+  if (Group.Patterns.empty())
+    return false;
+
+  // Find the best location to place shared storage
+  BasicBlock *StorageLocation = Group.Patterns[0].Location;
+
+  // If patterns are in a loop, try to hoist storage outside loop
+  if (auto *Loop = Group.Patterns[0].ContainingLoop) {
+    if (auto *Preheader = Loop->getLoopPreheader()) {
+      StorageLocation = Preheader;
+      LLVM_DEBUG(dbgs() << "Hoisting storage outside loop\n");
+    }
+  }
+
+  // Create shared storage
+  IRBuilder<> Builder(StorageLocation->getTerminator());
+  Value *SharedStorage = createSharedStorage(Group, Builder);
+
+  if (!SharedStorage)
+    return false;
+
+  // Transform each pattern in the group
+  for (auto &Pattern : Group.Patterns) {
+    IRBuilder<> PatternBuilder(Pattern.Chain.back());
+    transformSinglePattern(Pattern, SharedStorage, PatternBuilder);
+  }
+
+  return true;
+}
+
+Value *AMDGPUTDMOptimization::createSharedStorage(DescriptorGroup &Group, IRBuilder<> &Builder) {
+  // Create alloca in address space 5 (AMDGPU private memory)
+  auto *StorageType = Group.SharedType;
+  auto *Storage = Builder.CreateAlloca(StorageType, /*AddrSpace=*/5, /*ArraySize=*/nullptr, "tdm_desc_storage");
+
+  // Initialize with base template if available
+  if (Group.SharedBase) {
+    auto *BaseConstant = dyn_cast<Constant>(Group.SharedBase);
+    if (BaseConstant) {
+      Builder.CreateStore(BaseConstant, Storage);
+      LLVM_DEBUG(dbgs() << "Initialized storage with constant base\n");
+    }
+  }
+
+  return Storage;
+}
+
+void AMDGPUTDMOptimization::transformSinglePattern(DescriptorPattern &Pattern,
+                                                   Value *SharedStorage,
+                                                   IRBuilder<> &Builder) {
+  // Create field pointers for variable fields
+  SmallVector<Value *, 8> FieldPointers;
+  for (unsigned FieldIdx : Pattern.VariableFields) {
+    Value *FieldPtr = Builder.CreateGEP(
+      Pattern.DescType, SharedStorage,
+      {Builder.getInt32(0), Builder.getInt32(FieldIdx)},
+      "tdm_field_" + Twine(FieldIdx) + "_ptr"
+    );
+    FieldPointers.push_back(FieldPtr);
+  }
+
+  // Update variable fields with values from the original chain
+  for (unsigned i = 0; i < Pattern.VariableFields.size() && i < Pattern.Chain.size(); ++i) {
+    auto *InsertInst = Pattern.Chain[i];
+    Value *NewValue = InsertInst->getOperand(1);  // Value being inserted
+    Builder.CreateStore(NewValue, FieldPointers[i]);
+  }
+
+  // Replace final result with load from shared storage
+  Value *OptimizedDescriptor = Builder.CreateLoad(Pattern.DescType, SharedStorage,
+                                                 "tdm_optimized_desc");
+
+  // Replace all uses of the final insert with the load
+  Pattern.Chain.back()->replaceAllUsesWith(OptimizedDescriptor);
+
+  // Let DCE (Dead Code Elimination) clean up the now-unused insertelement chains
+  // The instructions should be dead after replaceAllUsesWith above
+
+  LLVM_DEBUG(dbgs() << "Transformed pattern with " << Pattern.VariableFields.size()
+                    << " variable fields\n");
+}
+
+} // end anonymous namespace
+
+char AMDGPUTDMOptimization::ID = 0;
+
+INITIALIZE_PASS_BEGIN(AMDGPUTDMOptimization, DEBUG_TYPE,
+                      "AMDGPU TDM Descriptor Optimization", false, false)
+INITIALIZE_PASS_DEPENDENCY(LoopInfoWrapperPass)
+INITIALIZE_PASS_END(AMDGPUTDMOptimization, DEBUG_TYPE,
+                    "AMDGPU TDM Descriptor Optimization", false, false)
+
+namespace llvm {
+FunctionPass *createAMDGPUTDMOptimizationPass() {
+  return new AMDGPUTDMOptimization();
+}
+} // namespace llvm
\ No newline at end of file
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp b/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
index 309e92a2ee88e..459c693a5b979 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
@@ -129,6 +129,10 @@
 using namespace llvm;
 using namespace llvm::PatternMatch;
 
+static cl::opt<bool>
+EnableTDMOptimization("amdgpu-enable-tdm-opt", cl::Hidden, cl::init(true),
+                      cl::desc("Enable AMDGPU TDM descriptor optimization"));
+
 namespace {
 //===----------------------------------------------------------------------===//
 // AMDGPU CodeGen Pass Builder interface.
@@ -593,6 +597,7 @@ extern "C" LLVM_ABI LLVM_EXTERNAL_VISIBILITY void LLVMInitializeAMDGPUTarget() {
   initializeAMDGPULowerModuleLDSLegacyPass(*PR);
   initializeAMDGPULowerBufferFatPointersPass(*PR);
   initializeAMDGPULowerIntrinsicsLegacyPass(*PR);
+  initializeAMDGPUTDMOptimizationPass(*PR);
   initializeAMDGPUReserveWWMRegsLegacyPass(*PR);
   initializeAMDGPURewriteAGPRCopyMFMALegacyPass(*PR);
   initializeAMDGPURewriteOutArgumentsPass(*PR);
@@ -1413,6 +1418,12 @@ void AMDGPUPassConfig::addCodeGenPrepare() {
   if (TM->getTargetTriple().isAMDGCN() && EnableLowerKernelArguments)
     addPass(createAMDGPULowerKernelArgumentsPass());
 
+  // Add TDM Descriptor Optimization + SROA sequence
+  if (EnableTDMOptimization) {
+    addPass(createAMDGPUTDMOptimizationPass());  // Create alloca patterns
+    addPass(createSROAPass());                   // Convert to INSERT_SUBREG
+  }
+
   TargetPassConfig::addCodeGenPrepare();
 
   if (isPassEnabled(Ena...
[truncated]

@github-actions
Copy link

github-actions bot commented Dec 23, 2025

✅ With the latest revision this PR passed the C/C++ code formatter.

@github-actions
Copy link

⚠️ undef deprecator found issues in your code. ⚠️

You can test this locally with the following command:
git diff -U0 --pickaxe-regex -S '([^a-zA-Z0-9#_-]undef([^a-zA-Z0-9_-]|$)|UndefValue::get)' 'HEAD~1' HEAD llvm/lib/Target/AMDGPU/AMDGPUTDMOptimization.cpp llvm/test/CodeGen/AMDGPU/tdm-optimization.ll llvm/lib/Target/AMDGPU/AMDGPU.h llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp

The following files introduce new uses of undef:

  • llvm/test/CodeGen/AMDGPU/tdm-optimization.ll

Undef is now deprecated and should only be used in the rare cases where no replacement is possible. For example, a load of uninitialized memory yields undef. You should use poison values for placeholders instead.

In tests, avoid using undef and having tests that trigger undefined behavior. If you need an operand with some unimportant value, you can add a new argument to the function and use that instead.

For example, this is considered a bad practice:

define void @fn() {
  ...
  br i1 undef, ...
}

Please use the following instead:

define void @fn(i1 %cond) {
  ...
  br i1 %cond, ...
}

Please refer to the Undefined Behavior Manual for more information.

Loop *ContainingLoop; ///< Loop containing this pattern (if any)

/// Calculate field reuse ratio (constant fields / total fields)
float getFieldReuseRatio() const {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe use unsigned.
And just produce a number between 0 and 10.
(I.e., 10x the size)


// Optimize if significant field reuse
if (getFieldReuseRatio() >= 0.75f)
return true;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For a first iteration the somewhat magic constant could be fine, but I'd like to understand ultimately what's our objective function. What makes the transformation worth it and gear the analysis towards that.


// Optimize address descriptors (common case)
if (isAddressDescriptor() && ConstantFields.size() >= 1)
return true;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If that's the common case, should it come first.

return true;

// Optimize address descriptors (common case)
if (isAddressDescriptor() && ConstantFields.size() >= 1)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if (isAddressDescriptor() && ConstantFields.size() >= 1)
if (isAddressDescriptor() && !ConstantFields.empty())

if (!IE || !isDescriptorType(IE->getType()))
continue;

// Check if this is the final insert in a descriptor creation chain
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here and everywhere, period at the end of the comment, per the coding standard.


// Check if this is the final insert in a descriptor creation chain
if (!IE->hasOneUse() || isa<InsertElementInst>(*IE->user_begin()))
continue;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the one use limitation in line with what's produced by the frontend currently?


bool AMDGPUTDMOptimization::runOnFunction(Function &F) {
LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo();

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you assert that DetectedPatterns is empty here?

}

Loop *AMDGPUTDMOptimization::getContainingLoop(BasicBlock *BB) {
return LI ? LI->getLoopFor(BB) : nullptr;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LI shouldn't be able to be nullptr here if I'm not mistaking.

@tyb0807 tyb0807 force-pushed the tdm branch 2 times, most recently from 1d7f41c to 319bec4 Compare December 23, 2025 02:20
@github-actions
Copy link

github-actions bot commented Dec 23, 2025

🪟 Windows x64 Test Results

  • 128875 tests passed
  • 2841 tests skipped
  • 27 tests failed

Failed Tests

(click on a test name to see its output)

LLVM

LLVM.CodeGen/AMDGPU/GlobalISel/flat-scratch.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -global-isel -new-reg-bank-select -mattr=-promote-alloca -mattr=+enable-flat-scratch < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\flat-scratch.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=GFX9 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\flat-scratch.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -global-isel -new-reg-bank-select -mattr=-promote-alloca -mattr=+enable-flat-scratch
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=GFX9 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\flat-scratch.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\flat-scratch.ll:643:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: s_addk_i32 s1, 0x100
# |              ^
# | <stdin>:281:22: note: scanning from here
# |  v_mov_b32_e32 v0, 15
# |                      ^
# | <stdin>:282:2: note: possible intended match here
# |  s_add_i32 s1, s1, 4
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\flat-scratch.ll:849:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: v_add_u32_e32 v1, 0x100, v1
# |              ^
# | <stdin>:382:25: note: scanning from here
# |  v_sub_u32_e32 v0, 0, v0
# |                         ^
# | <stdin>:383:2: note: possible intended match here
# |  v_add_u32_e32 v1, 4, v1
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\flat-scratch.ll:1082:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: v_add_u32_e32 v1, 0x100, v1
# |              ^
# | <stdin>:482:29: note: scanning from here
# |  v_lshlrev_b32_e32 v0, 2, v0
# |                             ^
# | <stdin>:483:2: note: possible intended match here
# |  v_add_u32_e32 v1, 4, v1
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\flat-scratch.ll:1274:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: scratch_load_dword v0, off, s1 offset:4 glc
# |              ^
# | <stdin>:521:17: note: scanning from here
# |  s_mov_b32 s1, 0
# |                 ^
# | <stdin>:522:2: note: possible intended match here
# |  scratch_load_dword v0, off, s1 glc
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\flat-scratch.ll:1479:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: scratch_load_dword v1, off, s1 offset:4 glc
# |              ^
# | <stdin>:621:17: note: scanning from here
# |  s_mov_b32 s1, 0
# |                 ^
# | <stdin>:622:2: note: possible intended match here
# |  scratch_load_dword v1, off, s1 glc
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\flat-scratch.ll:1716:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: scratch_load_dword v1, off, s32 offset:4 glc
# |              ^
# | <stdin>:721:41: note: scanning from here
# |  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# |                                         ^
# | <stdin>:722:2: note: possible intended match here
# |  scratch_load_dword v1, off, s32 glc
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\flat-scratch.ll:1918:14: error: GFX9-NEXT: is not on the line after the previous match
# | ; GFX9-NEXT: scratch_store_dword off, v0, s0 offset:4
# |              ^
# | <stdin>:770:2: note: 'next' match was here
# |  scratch_store_dword off, v0, s0 offset:4
# |  ^
# | <stdin>:766:17: note: previous match ended here
# |  s_mov_b32 s0, 0
# |                 ^
# | <stdin>:767:1: note: non-matching line after previous match is here
# |  scratch_store_dword off, v0, s0
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\flat-scratch.ll:2074:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: s_movk_i32 s0, 0x3e80
# |              ^
# | <stdin>:858:41: note: scanning from here
# |  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# |                                         ^
# | <stdin>:859:2: note: possible intended match here
# |  v_mov_b32_e32 v0, 13
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\flat-scratch.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            276:  s_mov_b32 s1, 0 
# |            277:  scratch_load_dword v0, off, s1 glc 
# |            278:  s_waitcnt vmcnt(0) lgkmcnt(0) 
# |            279:  s_lshl_b32 s1, s0, 2 
# |            280:  s_and_b32 s0, s0, 15 
# |            281:  v_mov_b32_e32 v0, 15 
# | next:643'0                           X error: no match found
# |            282:  s_add_i32 s1, s1, 4 
# | next:643'0      ~~~~~~~~~~~~~~~~~~~~~
# | next:643'1       ?                    possible intended match
# |            283:  s_lshl_b32 s0, s0, 2 
# | next:643'0      ~~~~~~~~~~~~~~~~~~~~~~
# |            284:  scratch_store_dword off, v0, s1 
# | next:643'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            285:  s_waitcnt vmcnt(0) 
# | next:643'0      ~~~~~~~~~~~~~~~~~~~~
# |            286:  s_add_i32 s0, s0, 4 
# | next:643'0      ~~~~~~~~~~~~~~~~~~~~~
# |            287:  scratch_load_dword v0, off, s0 glc 
# | next:643'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            377:  scratch_load_dword v1, off, s1 glc 
# |            378:  s_waitcnt vmcnt(0) 
# |            379:  v_lshlrev_b32_e32 v1, 2, v0 
# |            380:  s_waitcnt lgkmcnt(0) 
# |            381:  s_lshl_b32 s0, s0, 7 
# |            382:  v_sub_u32_e32 v0, 0, v0 
# | next:849'0                              X error: no match found
# |            383:  v_add_u32_e32 v1, 4, v1 
# | next:849'0      ~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:849'1       ?                        possible intended match
# |            384:  s_add_u32 s0, 4, s0 
# | next:849'0      ~~~~~~~~~~~~~~~~~~~~~
# |            385:  v_mov_b32_e32 v2, 15 
# | next:849'0      ~~~~~~~~~~~~~~~~~~~~~~
# |            386:  v_lshlrev_b32_e32 v0, 2, v0 
# | next:849'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            387:  scratch_store_dword v1, v2, off offset:128 
# | next:849'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            388:  s_waitcnt vmcnt(0) 
# | next:849'0      ~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            477:  scratch_load_dword v1, off, s32 glc 
# |            478:  s_waitcnt vmcnt(0) 
# |            479:  v_lshlrev_b32_e32 v1, 2, v0 
# |            480:  v_and_b32_e32 v0, 15, v0 
# |            481:  v_add_u32_e32 v1, s32, v1 
# |            482:  v_lshlrev_b32_e32 v0, 2, v0 
# | next:1082'0                                 X error: no match found
# |            483:  v_add_u32_e32 v1, 4, v1 
# | next:1082'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1082'1      ?                        possible intended match
# |            484:  v_mov_b32_e32 v2, 15 
# | next:1082'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            485:  v_add_u32_e32 v0, s32, v0 
# | next:1082'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            486:  scratch_store_dword v1, v2, off 
# | next:1082'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            487:  s_waitcnt vmcnt(0) 
# | next:1082'0     ~~~~~~~~~~~~~~~~~~~~
# |            488:  v_add_u32_e32 v0, 4, v0 
# | next:1082'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            516: store_load_sindex_large_offset_kernel: ; @store_load_sindex_large_offset_kernel 
# | next:1082'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            517: ; %bb.0: ; %bb 
# |            518:  s_load_dword s0, s[4:5], 0x0 
# |            519:  s_add_u32 flat_scratch_lo, s8, s13 
# |            520:  s_addc_u32 flat_scratch_hi, s9, 0 
# |            521:  s_mov_b32 s1, 0 
# | next:1274'0                     X error: no match found
# |            522:  scratch_load_dword v0, off, s1 glc 
# | next:1274'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1274'1      ?                                   possible intended match
# |            523:  s_waitcnt vmcnt(0) lgkmcnt(0) 
# | next:1274'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            524:  s_lshl_b32 s1, s0, 2 
# | next:1274'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            525:  s_and_b32 s0, s0, 15 
# | next:1274'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            526:  v_mov_b32_e32 v0, 15 
# | next:1274'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            527:  s_add_i32 s1, s1, 4 
# | next:1274'0     ~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            616: store_load_vindex_large_offset_kernel: ; @store_load_vindex_large_offset_kernel 
# | next:1274'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            617: ; %bb.0: ; %bb 
# |            618:  s_load_dword s0, s[4:5], 0x0 
# |            619:  s_add_u32 flat_scratch_lo, s8, s13 
# |            620:  s_addc_u32 flat_scratch_hi, s9, 0 
# |            621:  s_mov_b32 s1, 0 
# | next:1479'0                     X error: no match found
# |            622:  scratch_load_dword v1, off, s1 glc 
# | next:1479'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1479'1      ?                                   possible intended match
# |            623:  s_waitcnt vmcnt(0) 
# | next:1479'0     ~~~~~~~~~~~~~~~~~~~~
# |            624:  v_lshlrev_b32_e32 v1, 2, v0 
# | next:1479'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            625:  s_waitcnt lgkmcnt(0) 
# | next:1479'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            626:  s_lshl_b32 s0, s0, 7 
# | next:1479'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            627:  v_sub_u32_e32 v0, 0, v0 
# | next:1479'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            716:  .globl store_load_vindex_large_offset_foo ; -- Begin function store_load_vindex_large_offset_foo 
# | next:1479'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            717:  .p2align 2 
# | next:1479'0     ~~~~~~~~~~~~
# |            718:  .type store_load_vindex_large_offset_foo,@function 
# | next:1479'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            719: store_load_vindex_large_offset_foo: ; @store_load_vindex_large_offset_foo 
# | next:1479'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            720: ; %bb.0: ; %bb 
# |            721:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# | next:1716'0                                             X error: no match found
# |            722:  scratch_load_dword v1, off, s32 glc 
# | next:1716'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1716'1      ?                                    possible intended match
# |            723:  s_waitcnt vmcnt(0) 
# | next:1716'0     ~~~~~~~~~~~~~~~~~~~~
# |            724:  v_lshlrev_b32_e32 v1, 2, v0 
# | next:1716'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            725:  v_and_b32_e32 v0, 15, v0 
# | next:1716'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            726:  v_add_u32_e32 v1, s32, v1 
# | next:1716'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            727:  v_lshlrev_b32_e32 v0, 2, v0 
# | next:1716'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            765:  v_mov_b32_e32 v0, 13 
# |            766:  s_mov_b32 s0, 0 
# |            767:  scratch_store_dword off, v0, s0 
# |            768:  s_waitcnt vmcnt(0) 
# |            769:  v_mov_b32_e32 v0, 15 
# |            770:  scratch_store_dword off, v0, s0 offset:4 
# | next:1918        !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |            771:  s_waitcnt vmcnt(0) 
# |            772:  scratch_load_dword v0, off, s0 offset:4 glc 
# |            773:  s_waitcnt vmcnt(0) 
# |            774:  s_endpgm 
# |            775:  .section .rodata,"a",@progbits 
# |              .
# |              .
# |              .
# |            853:  .globl store_load_large_imm_offset_foo ; -- Begin function store_load_large_imm_offset_foo 
# |            854:  .p2align 2 
# |            855:  .type store_load_large_imm_offset_foo,@function 
# |            856: store_load_large_imm_offset_foo: ; @store_load_large_imm_offset_foo 
# |            857: ; %bb.0: ; %bb 
# |            858:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# | next:2074'0                                             X error: no match found
# |            859:  v_mov_b32_e32 v0, 13 
# | next:2074'0     ~~~~~~~~~~~~~~~~~~~~~~
# | next:2074'1      ?                     possible intended match
# |            860:  scratch_store_dword off, v0, s32 
# | next:2074'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            861:  s_waitcnt vmcnt(0) 
# | next:2074'0     ~~~~~~~~~~~~~~~~~~~~
# |            862:  v_mov_b32_e32 v0, 15 
# | next:2074'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            863:  scratch_store_dword off, v0, s32 offset:4 
# | next:2074'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            864:  s_waitcnt vmcnt(0) 
# | next:2074'0     ~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/GlobalISel/insertelement.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel -mtriple=amdgcn-mesa-mesa3d -mcpu=gfx900 -verify-machineinstrs < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=GPRIDX C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel -mtriple=amdgcn-mesa-mesa3d -mcpu=gfx900 -verify-machineinstrs
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=GPRIDX 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.ll:13:16: error: GPRIDX-NEXT: expected string not found in input
# | ; GPRIDX-NEXT: s_cmp_eq_u32 s11, 0
# |                ^
# | <stdin>:21:18: note: scanning from here
# | ; %bb.0: ; %entry
# |                  ^
# | <stdin>:26:31: note: possible intended match here
# |  .set dyn_insertelement_v8i32_s_s_s.num_vgpr, 0
# |                               ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\insertelement.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |           16:  .text 
# |           17:  .globl dyn_insertelement_v8i32_s_s_s ; -- Begin function dyn_insertelement_v8i32_s_s_s 
# |           18:  .p2align 8 
# |           19:  .type dyn_insertelement_v8i32_s_s_s,@function 
# |           20: dyn_insertelement_v8i32_s_s_s: ; @dyn_insertelement_v8i32_s_s_s 
# |           21: ; %bb.0: ; %entry 
# | next:13'0                      X error: no match found
# |           22:  ; return to shader part epilog 
# | next:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           23: .Lfunc_end0: 
# | next:13'0     ~~~~~~~~~~~~~
# |           24:  .size dyn_insertelement_v8i32_s_s_s, .Lfunc_end0-dyn_insertelement_v8i32_s_s_s 
# | next:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           25:  ; -- End function 
# | next:13'0     ~~~~~~~~~~~~~~~~~~~
# |           26:  .set dyn_insertelement_v8i32_s_s_s.num_vgpr, 0 
# | next:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:13'1                                   ?                  possible intended match
# |           27:  .set dyn_insertelement_v8i32_s_s_s.num_agpr, 0 
# | next:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           28:  .set dyn_insertelement_v8i32_s_s_s.numbered_sgpr, 8 
# | next:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           29:  .set dyn_insertelement_v8i32_s_s_s.num_named_barrier, 0 
# | next:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           30:  .set dyn_insertelement_v8i32_s_s_s.private_seg_size, 0 
# | next:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           31:  .set dyn_insertelement_v8i32_s_s_s.uses_vcc, 0 
# | next:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/GlobalISel/irtranslator-sibling-call.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -global-isel -stop-after=irtranslator -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\irtranslator-sibling-call.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -enable-var-scope -check-prefix=GCN C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\irtranslator-sibling-call.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -global-isel -stop-after=irtranslator -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -enable-var-scope -check-prefix=GCN 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\irtranslator-sibling-call.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\irtranslator-sibling-call.ll:28:14: error: GCN-NEXT: expected string not found in input
# |  ; GCN-NEXT: [[C1:%[0-9]+]]:_(s32) = G_CONSTANT i32 20
# |              ^
# | <stdin>:492:42: note: scanning from here
# |  %2:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0
# |                                          ^
# | <stdin>:494:2: note: possible intended match here
# |  %4:_(s32) = G_ADD %0, %1
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\irtranslator-sibling-call.ll:70:14: error: GCN-NEXT: expected string not found in input
# |  ; GCN-NEXT: [[C1:%[0-9]+]]:_(s32) = G_CONSTANT i32 20
# |              ^
# | <stdin>:745:42: note: scanning from here
# |  %3:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0
# |                                          ^
# | <stdin>:747:4: note: possible intended match here
# |  %6:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @i32_fastcc_i32_i32
# |    ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\irtranslator-sibling-call.ll:97:14: error: GCN-NEXT: expected string not found in input
# |  ; GCN-NEXT: [[C1:%[0-9]+]]:_(s32) = G_CONSTANT i32 20
# |              ^
# | <stdin>:877:42: note: scanning from here
# |  %3:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0
# |                                          ^
# | <stdin>:879:4: note: possible intended match here
# |  %6:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @i32_fastcc_i32_i32_stack_object
# |    ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\irtranslator-sibling-call.ll:453:14: error: GCN-NEXT: expected string not found in input
# |  ; GCN-NEXT: [[C1:%[0-9]+]]:_(s32) = G_CONSTANT i32 20
# |              ^
# | <stdin>:2302:43: note: scanning from here
# |  %37:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0
# |                                           ^
# | <stdin>:2304:5: note: possible intended match here
# |  %40:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @i32_fastcc_i32_i32_a32i32
# |     ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\irtranslator-sibling-call.ll:648:14: error: GCN-NEXT: expected string not found in input
# |  ; GCN-NEXT: [[C1:%[0-9]+]]:_(s32) = G_CONSTANT i32 20
# |              ^
# | <stdin>:2876:43: note: scanning from here
# |  %37:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0
# |                                           ^
# | <stdin>:2878:5: note: possible intended match here
# |  %40:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @i32_fastcc_i32_i32_a32i32
# |     ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\irtranslator-sibling-call.ll:753:14: error: GCN-NEXT: expected string not found in input
# |  ; GCN-NEXT: [[C2:%[0-9]+]]:_(s32) = G_CONSTANT i32 20
# |              ^
# | <stdin>:3172:43: note: scanning from here
# |  %45:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0
# |                                           ^
# | <stdin>:3174:5: note: possible intended match here
# |  %49:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @i32_fastcc_i32_i32_a32i32
# |     ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\irtranslator-sibling-call.ll:924:14: error: GCN-NEXT: expected string not found in input
# |  ; GCN-NEXT: G_STORE [[C]](s32), [[FRAME_INDEX34]](p5) :: (store (s32) into %ir.alloca0, addrspace 5)
# |              ^
# | <stdin>:3726:45: note: scanning from here
# |  %100:_(p5) = G_FRAME_INDEX %stack.1.alloca1
# |                                             ^
# | <stdin>:3726:45: note: with "C" equal to "%101"
# |  %100:_(p5) = G_FRAME_INDEX %stack.1.alloca1
# |                                             ^
# | <stdin>:3726:45: note: with "FRAME_INDEX34" equal to "%99"
# |  %100:_(p5) = G_FRAME_INDEX %stack.1.alloca1
# |                                             ^
# | <stdin>:3733:2: note: possible intended match here
# |  G_STORE %101(s32), %105(p5) :: (store (s32) into %ir..fca.2.gep, addrspace 5)
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\irtranslator-sibling-call.ll:1091:14: error: GCN-NEXT: expected string not found in input
# |  ; GCN-NEXT: G_STORE [[C]](s32), [[FRAME_INDEX34]](p5) :: (store (s32) into %ir.alloca, addrspace 5)
# |              ^
# | <stdin>:4275:43: note: scanning from here
# |  %99:_(p5) = G_FRAME_INDEX %stack.0.alloca
# |                                           ^
# | <stdin>:4275:43: note: with "C" equal to "%100"
# |  %99:_(p5) = G_FRAME_INDEX %stack.0.alloca
# |                                           ^
# | <stdin>:4275:43: note: with "FRAME_INDEX34" equal to "%99"
# |  %99:_(p5) = G_FRAME_INDEX %stack.0.alloca
# |                                           ^
# | <stdin>:4276:2: note: possible intended match here
# |  G_STORE %100(s32), %99(p5) :: (store (s32) into %ir..fca.0.gep1, addrspace 5)
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\GlobalISel\irtranslator-sibling-call.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            487:  liveins: $vgpr0, $vgpr1 
# |            488:   
# |            489:  %0:_(s32) = COPY $vgpr0 
# |            490:  %1:_(s32) = COPY $vgpr1 
# |            491:  %3:_(s32) = G_CONSTANT i32 9 
# |            492:  %2:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0 
# | next:28'0                                                X~~~~~~~ error: no match found
# |            493:  G_STORE %3(s32), %2(p5) :: (volatile store (s32) into %ir.alloca.sroa.0, addrspace 5) 
# | next:28'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            494:  %4:_(s32) = G_ADD %0, %1 
# | next:28'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:28'1        ?                         possible intended match
# |            495:  $vgpr0 = COPY %4(s32) 
# | next:28'0       ~~~~~~~~~~~~~~~~~~~~~~~
# |            496:  SI_RETURN implicit $vgpr0 
# | next:28'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            497: ... 
# | next:28'0       ~~~~
# |            498: --- 
# | next:28'0       ~~~~
# |            499: name: sibling_call_i32_fastcc_i32_i32 
# | next:28'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            740:   
# |            741:  %0:_(s32) = COPY $vgpr0 
# |            742:  %1:_(s32) = COPY $vgpr1 
# |            743:  %2:_(s32) = COPY $vgpr2 
# |            744:  %4:_(s32) = G_CONSTANT i32 9 
# |            745:  %3:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0 
# | next:70'0                                                X~~~~~~~ error: no match found
# |            746:  G_STORE %4(s32), %3(p5) :: (volatile store (s32) into %ir.alloca.sroa.0, addrspace 5) 
# | next:70'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            747:  %6:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @i32_fastcc_i32_i32 
# | next:70'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:70'1          ?                                                      possible intended match
# |            748:  $vgpr0 = COPY %0(s32) 
# | next:70'0       ~~~~~~~~~~~~~~~~~~~~~~~
# |            749:  $vgpr1 = COPY %1(s32) 
# | next:70'0       ~~~~~~~~~~~~~~~~~~~~~~~
# |            750:  %7:_(<4 x s32>) = COPY $sgpr0_sgpr1_sgpr2_sgpr3 
# | next:70'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            751:  $sgpr0_sgpr1_sgpr2_sgpr3 = COPY %7(<4 x s32>) 
# | next:70'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            752:  SI_TCRETURN %6(p0), @i32_fastcc_i32_i32, 0, csr_amdgpu, implicit $vgpr0, implicit $vgpr1, implicit $sgpr0_sgpr1_sgpr2_sgpr3 
# | next:70'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            872:   
# |            873:  %0:_(s32) = COPY $vgpr0 
# |            874:  %1:_(s32) = COPY $vgpr1 
# |            875:  %2:_(s32) = COPY $vgpr2 
# |            876:  %4:_(s32) = G_CONSTANT i32 9 
# |            877:  %3:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0 
# | next:97'0                                                X~~~~~~~ error: no match found
# |            878:  G_STORE %4(s32), %3(p5) :: (volatile store (s32) into %ir.alloca.sroa.0, addrspace 5) 
# | next:97'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            879:  %6:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @i32_fastcc_i32_i32_stack_object 
# | next:97'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:97'1          ?                                                                   possible intended match
# |            880:  $vgpr0 = COPY %0(s32) 
# | next:97'0       ~~~~~~~~~~~~~~~~~~~~~~~
# |            881:  $vgpr1 = COPY %1(s32) 
# | next:97'0       ~~~~~~~~~~~~~~~~~~~~~~~
# |            882:  %7:_(<4 x s32>) = COPY $sgpr0_sgpr1_sgpr2_sgpr3 
# | next:97'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            883:  $sgpr0_sgpr1_sgpr2_sgpr3 = COPY %7(<4 x s32>) 
# | next:97'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            884:  SI_TCRETURN %6(p0), @i32_fastcc_i32_i32_stack_object, 0, csr_amdgpu, implicit $vgpr0, implicit $vgpr1, implicit $sgpr0_sgpr1_sgpr2_sgpr3 
# | next:97'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           2297:  %35:_(p5) = G_FRAME_INDEX %fixed-stack.4 
# |           2298:  %32:_(s32) = G_LOAD %35(p5) :: (invariant load (s32) from %fixed-stack.4, addrspace 5) 
# |           2299:  %36:_(p5) = G_FRAME_INDEX %fixed-stack.3 
# |           2300:  %33:_(s32) = G_LOAD %36(p5) :: (invariant load (s32) from %fixed-stack.3, align 8, addrspace 5) 
# |           2301:  %38:_(s32) = G_CONSTANT i32 9 
# |           2302:  %37:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0 
# | next:453'0                                                X~~~~~~~ error: no match found
# |           2303:  G_STORE %38(s32), %37(p5) :: (volatile store (s32) into %ir.alloca.sroa.0, addrspace 5) 
# | next:453'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2304:  %40:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @i32_fastcc_i32_i32_a32i32 
# | next:453'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:453'1          ?                                                             possible intended match
# |           2305:  %41:_(p5) = G_FRAME_INDEX %fixed-stack.2 
# | next:453'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2306:  G_STORE %31(s32), %41(p5) :: (store (s32) into %fixed-stack.2, align 16, addrspace 5) 
# | next:453'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2307:  %42:_(p5) = G_FRAME_INDEX %fixed-stack.1 
# | next:453'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2308:  G_STORE %32(s32), %42(p5) :: (store (s32) into %fixed-stack.1, addrspace 5) 
# | next:453'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2309:  %43:_(p5) = G_FRAME_INDEX %fixed-stack.0 
# | next:453'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           2871:  %35:_(p5) = G_FRAME_INDEX %fixed-stack.4 
# |           2872:  %32:_(s32) = G_LOAD %35(p5) :: (invariant load (s32) from %fixed-stack.4, addrspace 5) 
# |           2873:  %36:_(p5) = G_FRAME_INDEX %fixed-stack.3 
# |           2874:  %33:_(s32) = G_LOAD %36(p5) :: (invariant load (s32) from %fixed-stack.3, align 8, addrspace 5) 
# |           2875:  %38:_(s32) = G_CONSTANT i32 9 
# |           2876:  %37:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0 
# | next:648'0                                                X~~~~~~~ error: no match found
# |           2877:  G_STORE %38(s32), %37(p5) :: (volatile store (s32) into %ir.alloca.sroa.0, addrspace 5) 
# | next:648'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2878:  %40:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @i32_fastcc_i32_i32_a32i32 
# | next:648'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:648'1          ?                                                             possible intended match
# |           2879:  %41:_(p5) = G_FRAME_INDEX %fixed-stack.2 
# | next:648'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2880:  G_STORE %31(s32), %41(p5) :: (store (s32) into %fixed-stack.2, align 16, addrspace 5) 
# | next:648'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2881:  %42:_(p5) = G_FRAME_INDEX %fixed-stack.1 
# | next:648'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2882:  G_STORE %32(s32), %42(p5) :: (store (s32) into %fixed-stack.1, addrspace 5) 
# | next:648'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2883:  %43:_(p5) = G_FRAME_INDEX %fixed-stack.0 
# | next:648'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           3167:  %36:_(s32) = G_LOAD %43(p5) :: (invariant load (s32) from %fixed-stack.4, addrspace 5) 
# |           3168:  %44:_(p5) = G_FRAME_INDEX %fixed-stack.3 
# |           3169:  %37:_(s32) = G_LOAD %44(p5) :: (invariant load (s32) from %fixed-stack.3, align 8, addrspace 5) 
# |           3170:  %46:_(s32) = G_CONSTANT i32 9 
# |           3171:  %48:_(s32) = G_CONSTANT i32 0 
# |           3172:  %45:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0 
# | next:753'0                                                X~~~~~~~ error: no match found
# |           3173:  G_STORE %46(s32), %45(p5) :: (volatile store (s32) into %ir.alloca.sroa.0, addrspace 5) 
# | next:753'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3174:  %49:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @i32_fastcc_i32_i32_a32i32 
# | next:753'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:753'1          ?                                                             possible intended match
# |           3175:  %50:_(p5) = G_FRAME_INDEX %fixed-stack.2 
# | next:753'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3176:  G_STORE %48(s32), %50(p5) :: (store (s32) into %fixed-stack.2, align 16, addrspace 5) 
# | next:753'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3177:  %51:_(p5) = G_FRAME_INDEX %fixed-stack.1 
# | next:753'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3178:  G_STORE %48(s32), %51(p5) :: (store (s32) into %fixed-stack.1, addrspace 5) 
# | next:753'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3179:  %52:_(p5) = G_FRAME_INDEX %fixed-stack.0 
# | next:753'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           3721:  %98:_(p5) = G_FRAME_INDEX %fixed-stack.2 
# |           3722:  %64:_(s32) = G_LOAD %98(p5) :: (invariant load (s32) from %fixed-stack.2, addrspace 5) 
# |           3723:  %101:_(s32) = G_CONSTANT i32 9 
# |           3724:  %106:_(s64) = G_CONSTANT i64 0 
# |           3725:  %99:_(p5) = G_FRAME_INDEX %stack.0.alloca0 
# |           3726:  %100:_(p5) = G_FRAME_INDEX %stack.1.alloca1 
# | next:924'0                                                  X error: no match found
# | next:924'1                                                    with "C" equal to "%101"
# | next:924'2                                                    with "FRAME_INDEX34" equal to "%99"
# |           3727:  G_STORE %101(s32), %99(p5) :: (store (s32) into %ir..fca.0.gep13, addrspace 5) 
# | next:924'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3728:  %102:_(s32) = G_CONSTANT i32 4 
# | next:924'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3729:  %103:_(p5) = nuw nusw inbounds G_PTR_ADD %99, %102(s32) 
# | next:924'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3730:  G_STORE %101(s32), %103(p5) :: (store (s32) into %ir..fca.1.gep2, addrspace 5) 
# | next:924'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3731:  %104:_(s32) = G_CONSTANT i32 8 
# | next:924'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3732:  %105:_(p5) = nuw nusw inbounds G_PTR_ADD %99, %104(s32) 
# | next:924'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3733:  G_STORE %101(s32), %105(p5) :: (store (s32) into %ir..fca.2.gep, addrspace 5) 
# | next:924'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:924'3       ?                                                                              possible intended match
# |           3734:  G_STORE %106(s64), %100(p5) :: (store (s64) into %ir..fca.0.gep4, addrspace 5) 
# | next:924'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3735:  %107:_(p5) = nuw nusw inbounds G_PTR_ADD %100, %104(s32) 
# | next:924'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3736:  G_STORE %106(s64), %107(p5) :: (store (s64) into %ir..fca.1.gep, addrspace 5) 
# | next:924'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3737:  %108:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @void_fastcc_multi_byval 
# | next:924'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3738:  %109:_(p4) = COPY %110(p4) 
# | next:924'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           4270:  %63:_(s32) = G_LOAD %97(p5) :: (invariant load (s32) from %fixed-stack.4, align 16, addrspace 5) 
# |           4271:  %98:_(p5) = G_FRAME_INDEX %fixed-stack.3 
# |           4272:  %64:_(s32) = G_LOAD %98(p5) :: (invariant load (s32) from %fixed-stack.3, addrspace 5) 
# |           4273:  %100:_(s32) = G_CONSTANT i32 9 
# |           4274:  %105:_(s32) = G_CONSTANT i32 0 
# |           4275:  %99:_(p5) = G_FRAME_INDEX %stack.0.alloca 
# | next:1091'0                                               X error: no match found
# | next:1091'1                                                 with "C" equal to "%100"
# | next:1091'2                                                 with "FRAME_INDEX34" equal to "%99"
# |           4276:  G_STORE %100(s32), %99(p5) :: (store (s32) into %ir..fca.0.gep1, addrspace 5) 
# | next:1091'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1091'3      ?                                                                              possible intended match
# |           4277:  %101:_(s32) = G_CONSTANT i32 4 
# | next:1091'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           4278:  %102:_(p5) = nuw nusw inbounds G_PTR_ADD %99, %101(s32) 
# | next:1091'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           4279:  G_STORE %100(s32), %102(p5) :: (store (s32) into %ir..fca.1.gep, addrspace 5) 
# | next:1091'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           4280:  %103:_(s32) = G_CONSTANT i32 8 
# | next:1091'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           4281:  %104:_(p5) = nuw nusw inbounds G_PTR_ADD %99, %103(s32) 
# | next:1091'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/captured-frame-index.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-- -mcpu=tahiti -mattr=-promote-alloca < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\captured-frame-index.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -enable-var-scope -check-prefix=GCN C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\captured-frame-index.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-- -mcpu=tahiti -mattr=-promote-alloca
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -enable-var-scope -check-prefix=GCN 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\captured-frame-index.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\captured-frame-index.ll:73:8: error: GCN: expected string not found in input
# | ; GCN: buffer_store_dword [[K1]], off, s{{\[[0-9]+:[0-9]+\]}}, 0 offset:2048{{$}}
# |        ^
# | <stdin>:297:25: note: scanning from here
# |  v_mov_b32_e32 v0, 0x4d2
# |                         ^
# | <stdin>:297:25: note: with "K1" equal to "v0"
# |  v_mov_b32_e32 v0, 0x4d2
# |                         ^
# | <stdin>:298:2: note: possible intended match here
# |  buffer_store_dword v0, off, s[12:15], 0 offset:4
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\captured-frame-index.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           292:  s_add_u32 s12, s12, s11 
# |           293:  s_addc_u32 s13, s13, 0 
# |           294:  v_mov_b32_e32 v0, 32 
# |           295:  buffer_store_dword v0, off, s[12:15], 0 
# |           296:  s_waitcnt vmcnt(0) expcnt(0) 
# |           297:  v_mov_b32_e32 v0, 0x4d2 
# | check:73'0                             X error: no match found
# | check:73'1                               with "K1" equal to "v0"
# |           298:  buffer_store_dword v0, off, s[12:15], 0 offset:4 
# | check:73'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:73'2      ?                                                 possible intended match
# |           299:  s_waitcnt vmcnt(0) expcnt(0) 
# | check:73'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           300:  v_mov_b32_e32 v0, 4 
# | check:73'0     ~~~~~~~~~~~~~~~~~~~~~
# |           301:  buffer_store_dword v0, off, s[12:15], 0 offset:4 
# | check:73'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           302:  s_waitcnt vmcnt(0) 
# | check:73'0     ~~~~~~~~~~~~~~~~~~~~
# |           303:  s_endpgm 
# | check:73'0     ~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/cgp-addressing-modes.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -S -passes='require<profile-summary>,function(codegenprepare)' -mtriple=amdgcn-unknown-unknown -mcpu=tahiti < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=OPT -check-prefix=OPT-SI -check-prefix=OPT-SICIVI C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -S '-passes=require<profile-summary>,function(codegenprepare)' -mtriple=amdgcn-unknown-unknown -mcpu=tahiti
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=OPT -check-prefix=OPT-SI -check-prefix=OPT-SICIVI 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll'
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -S -passes='require<profile-summary>,function(codegenprepare)' -mtriple=amdgcn-unknown-unknown -mcpu=bonaire < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=OPT -check-prefix=OPT-CI -check-prefix=OPT-SICIVI C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -S '-passes=require<profile-summary>,function(codegenprepare)' -mtriple=amdgcn-unknown-unknown -mcpu=bonaire
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=OPT -check-prefix=OPT-CI -check-prefix=OPT-SICIVI 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll'
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -S -passes='require<profile-summary>,function(codegenprepare)' -mtriple=amdgcn-unknown-unknown -mcpu=tonga -mattr=-flat-for-global < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=OPT -check-prefix=OPT-VI -check-prefix=OPT-SICIVI C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -S '-passes=require<profile-summary>,function(codegenprepare)' -mtriple=amdgcn-unknown-unknown -mcpu=tonga -mattr=-flat-for-global
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=OPT -check-prefix=OPT-VI -check-prefix=OPT-SICIVI 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll'
# note: command had no output on stdout or stderr
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -S -passes='require<profile-summary>,function(codegenprepare)' -mtriple=amdgcn-unknown-unknown -mcpu=gfx900 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=OPT -check-prefix=OPT-GFX9 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -S '-passes=require<profile-summary>,function(codegenprepare)' -mtriple=amdgcn-unknown-unknown -mcpu=gfx900
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=OPT -check-prefix=OPT-GFX9 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll'
# note: command had no output on stdout or stderr
# RUN: at line 5
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=tahiti -mattr=-promote-alloca -amdgpu-scalarize-global-loads=false < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=GCN -check-prefix=SI -check-prefix=SICIVI C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=tahiti -mattr=-promote-alloca -amdgpu-scalarize-global-loads=false
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=GCN -check-prefix=SI -check-prefix=SICIVI 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll:137:8: error: GCN: expected string not found in input
# | ; GCN: buffer_store_dword {{v[0-9]+}}, off, {{s\[[0-9]+:[0-9]+\]}}, 0 offset:4088{{$}}
# |        ^
# | <stdin>:323:20: note: scanning from here
# |  s_and_saveexec_b64 s[0:1], vcc
# |                    ^
# | <stdin>:330:2: note: possible intended match here
# |  buffer_store_dwordx2 v[0:1], off, s[0:3], s4
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll:176:8: error: GCN: expected string not found in input
# | ; GCN: buffer_store_dword {{v[0-9]+}}, off, {{s\[[0-9]+:[0-9]+\]}}, 0 offset:4092{{$}}
# |        ^
# | <stdin>:388:20: note: scanning from here
# |  s_and_saveexec_b64 s[0:1], vcc
# |                    ^
# | <stdin>:395:2: note: possible intended match here
# |  buffer_store_dwordx2 v[0:1], off, s[0:3], s4
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll:214:8: error: GCN: expected string not found in input
# | ; GCN: buffer_store_dword {{v[0-9]+}}, {{v[0-9]+}}, {{s\[[0-9]+:[0-9]+\]}}, 0 offen{{$}}
# |        ^
# | <stdin>:453:20: note: scanning from here
# |  s_and_saveexec_b64 s[0:1], vcc
# |                    ^
# | <stdin>:460:2: note: possible intended match here
# |  buffer_store_dwordx2 v[0:1], off, s[0:3], s4
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\cgp-addressing-modes.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            318: test_sink_scratch_small_offset_i32: ; @test_sink_scratch_small_offset_i32 
# |            319: ; %bb.0: ; %entry 
# |            320:  v_mbcnt_lo_u32_b32_e64 v0, -1, 0 
# |            321:  v_cmp_ne_u32_e32 vcc, 0, v0 
# |            322:  s_mov_b32 s2, -1 
# |            323:  s_and_saveexec_b64 s[0:1], vcc 
# | check:137'0                        X~~~~~~~~~~~~ error: no match found
# |            324:  s_or_b64 exec, exec, s[0:1] 
# | check:137'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            325:  s_load_dwordx2 s[0:1], s[4:5], 0x9 
# | check:137'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            326:  s_mov_b32 s3, 0xf000 
# | check:137'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            327:  s_mov_b32 s4, 0x3d08f8 
# | check:137'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |            328:  v_mov_b32_e32 v0, 0 
# | check:137'0     ~~~~~~~~~~~~~~~~~~~~~
# |            329:  s_waitcnt lgkmcnt(0) 
# | check:137'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            330:  buffer_store_dwordx2 v[0:1], off, s[0:3], s4 
# | check:137'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:137'1      ?                                             possible intended match
# |            331:  s_endpgm 
# | check:137'0     ~~~~~~~~~~
# |            332: .Lfunc_end4: 
# | check:137'0     ~~~~~~~~~~~~~
# |            333:  .size test_sink_scratch_small_offset_i32, .Lfunc_end4-test_sink_scratch_small_offset_i32 
# | check:137'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            334:  ; -- End function 
# | check:137'0     ~~~~~~~~~~~~~~~~~~~
# |            335:  .set test_sink_scratch_small_offset_i32.num_vgpr, 2 
# | check:137'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            383: test_sink_scratch_small_offset_i32_reserved: ; @test_sink_scratch_small_offset_i32_reserved 
# | check:137'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            384: ; %bb.0: ; %entry 
# |            385:  v_mbcnt_lo_u32_b32_e64 v0, -1, 0 
# |            386:  v_cmp_ne_u32_e32 vcc, 0, v0 
# |            387:  s_mov_b32 s2, -1 
# |            388:  s_and_saveexec_b64 s[0:1], vcc 
# | check:176'0                        X~~~~~~~~~~~~ error: no match found
# |            389:  s_or_b64 exec, exec, s[0:1] 
# | check:176'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            390:  s_load_dwordx2 s[0:1], s[4:5], 0x9 
# | check:176'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            391:  s_mov_b32 s3, 0xf000 
# | check:176'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            392:  s_mov_b32 s4, 0x3d08f8 
# | check:176'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |            393:  v_mov_b32_e32 v0, 0 
# | check:176'0     ~~~~~~~~~~~~~~~~~~~~~
# |            394:  s_waitcnt lgkmcnt(0) 
# | check:176'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            395:  buffer_store_dwordx2 v[0:1], off, s[0:3], s4 
# | check:176'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:176'1      ?                                             possible intended match
# |            396:  s_endpgm 
# | check:176'0     ~~~~~~~~~~
# |            397: .Lfunc_end5: 
# | check:176'0     ~~~~~~~~~~~~~
# |            398:  .size test_sink_scratch_small_offset_i32_reserved, .Lfunc_end5-test_sink_scratch_small_offset_i32_reserved 
# | check:176'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            399:  ; -- End function 
# | check:176'0     ~~~~~~~~~~~~~~~~~~~
# |            400:  .set test_sink_scratch_small_offset_i32_reserved.num_vgpr, 2 
# | check:176'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            448: test_no_sink_scratch_large_offset_i32: ; @test_no_sink_scratch_large_offset_i32 
# | check:176'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            449: ; %bb.0: ; %entry 
# |            450:  v_mbcnt_lo_u32_b32_e64 v0, -1, 0 
# |            451:  v_cmp_ne_u32_e32 vcc, 0, v0 
# |            452:  s_mov_b32 s2, -1 
# |            453:  s_and_saveexec_b64 s[0:1], vcc 
# | check:214'0                        X~~~~~~~~~~~~ error: no match found
# |            454:  s_or_b64 exec, exec, s[0:1] 
# | check:214'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            455:  s_load_dwordx2 s[0:1], s[4:5], 0x9 
# | check:214'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            456:  s_mov_b32 s3, 0xf000 
# | check:214'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            457:  s_mov_b32 s4, 0x3d08f8 
# | check:214'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |            458:  v_mov_b32_e32 v0, 0 
# | check:214'0     ~~~~~~~~~~~~~~~~~~~~~
# |            459:  s_waitcnt lgkmcnt(0) 
# | check:214'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            460:  buffer_store_dwordx2 v[0:1], off, s[0:3], s4 
# | check:214'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:214'1      ?                                             possible intended match
# |            461:  s_endpgm 
# | check:214'0     ~~~~~~~~~~
# |            462: .Lfunc_end6: 
# | check:214'0     ~~~~~~~~~~~~~
# |            463:  .size test_no_sink_scratch_large_offset_i32, .Lfunc_end6-test_no_sink_scratch_large_offset_i32 
# | check:214'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            464:  ; -- End function 
# | check:214'0     ~~~~~~~~~~~~~~~~~~~
# |            465:  .set test_no_sink_scratch_large_offset_i32.num_vgpr, 2 
# | check:214'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/extload-private.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mattr=-promote-alloca < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\extload-private.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=SI -check-prefix=FUNC C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\extload-private.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mattr=-promote-alloca
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=SI -check-prefix=FUNC 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\extload-private.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\extload-private.ll:5:7: error: SI: expected string not found in input
# | ; SI: buffer_load_sbyte v{{[0-9]+}}, off, s[{{[0-9]+:[0-9]+}}], 0{{$}}
# |       ^
# | <stdin>:16:22: note: scanning from here
# | load_i8_sext_private: ; @load_i8_sext_private
# |                      ^
# | <stdin>:23:2: note: possible intended match here
# |  buffer_store_dword v0, off, s[0:3], 0
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\extload-private.ll:16:7: error: SI: expected string not found in input
# | ; SI: buffer_load_ubyte v{{[0-9]+}}, off, s[{{[0-9]+:[0-9]+}}], 0{{$}}
# |       ^
# | <stdin>:76:22: note: scanning from here
# | load_i8_zext_private: ; @load_i8_zext_private
# |                      ^
# | <stdin>:83:2: note: possible intended match here
# |  buffer_store_dword v0, off, s[0:3], 0
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\extload-private.ll:27:7: error: SI: expected string not found in input
# | ; SI: buffer_load_sshort v{{[0-9]+}}, off, s[{{[0-9]+:[0-9]+}}], 0{{$}}
# |       ^
# | <stdin>:136:23: note: scanning from here
# | load_i16_sext_private: ; @load_i16_sext_private
# |                       ^
# | <stdin>:143:2: note: possible intended match here
# |  buffer_store_dword v0, off, s[0:3], 0
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\extload-private.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            11:  .long 0 
# |            12:  .text 
# |            13:  .globl load_i8_sext_private ; -- Begin function load_i8_sext_private 
# |            14:  .p2align 8 
# |            15:  .type load_i8_sext_private,@function 
# |            16: load_i8_sext_private: ; @load_i8_sext_private 
# | check:5'0                           X~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |            17: ; %bb.0: ; %entry 
# | check:5'0      ~~~~~~~~~~~~~~~~~~
# |            18:  s_load_dwordx2 s[0:1], s[4:5], 0x9 
# | check:5'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            19:  s_mov_b32 s3, 0xf000 
# | check:5'0      ~~~~~~~~~~~~~~~~~~~~~~
# |            20:  s_mov_b32 s2, -1 
# | check:5'0      ~~~~~~~~~~~~~~~~~~
# |            21:  v_mov_b32_e32 v0, 0 
# | check:5'0      ~~~~~~~~~~~~~~~~~~~~~
# |            22:  s_waitcnt lgkmcnt(0) 
# | check:5'0      ~~~~~~~~~~~~~~~~~~~~~~
# |            23:  buffer_store_dword v0, off, s[0:3], 0 
# | check:5'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:5'1       ?                                      possible intended match
# |            24:  s_endpgm 
# | check:5'0      ~~~~~~~~~~
# |            25: .Lfunc_end0: 
# | check:5'0      ~~~~~~~~~~~~~
# |            26:  .size load_i8_sext_private, .Lfunc_end0-load_i8_sext_private 
# | check:5'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            27:  ; -- End function 
# | check:5'0      ~~~~~~~~~~~~~~~~~~~
# |            28:  .set load_i8_sext_private.num_vgpr, 1 
# | check:5'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |            71:  .long 0 
# | check:5'0      ~~~~~~~~~
# |            72:  .text 
# | check:5'0      ~~~~~~~
# |            73:  .globl load_i8_zext_private ; -- Begin function load_i8_zext_private 
# | check:5'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            74:  .p2align 8 
# | check:5'0      ~~~~~~~~~~~~
# |            75:  .type load_i8_zext_private,@function 
# | check:5'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            76: load_i8_zext_private: ; @load_i8_zext_private 
# | check:5'0      ~~~~~~~~~~~~~~~~~~~~~
# | check:16'0                          X~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |            77: ; %bb.0: ; %entry 
# | check:16'0     ~~~~~~~~~~~~~~~~~~
# |            78:  s_load_dwordx2 s[0:1], s[4:5], 0x9 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            79:  s_mov_b32 s3, 0xf000 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            80:  s_mov_b32 s2, -1 
# | check:16'0     ~~~~~~~~~~~~~~~~~~
# |            81:  v_mov_b32_e32 v0, 0 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~
# |            82:  s_waitcnt lgkmcnt(0) 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            83:  buffer_store_dword v0, off, s[0:3], 0 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:16'1      ?                                      possible intended match
# |            84:  s_endpgm 
# | check:16'0     ~~~~~~~~~~
# |            85: .Lfunc_end1: 
# | check:16'0     ~~~~~~~~~~~~~
# |            86:  .size load_i8_zext_private, .Lfunc_end1-load_i8_zext_private 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            87:  ; -- End function 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~
# |            88:  .set load_i8_zext_private.num_vgpr, 1 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           131:  .long 0 
# | check:16'0     ~~~~~~~~~
# |           132:  .text 
# | check:16'0     ~~~~~~~
# |           133:  .globl load_i16_sext_private ; -- Begin function load_i16_sext_private 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           134:  .p2align 8 
# | check:16'0     ~~~~~~~~~~~~
# |           135:  .type load_i16_sext_private,@function 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           136: load_i16_sext_private: ; @load_i16_sext_private 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~
# | check:27'0                           X~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |           137: ; %bb.0: ; %entry 
# | check:27'0     ~~~~~~~~~~~~~~~~~~
# |           138:  s_load_dwordx2 s[0:1], s[4:5], 0x9 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           139:  s_mov_b32 s3, 0xf000 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           140:  s_mov_b32 s2, -1 
# | check:27'0     ~~~~~~~~~~~~~~~~~~
# |           141:  v_mov_b32_e32 v0, 0 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~~~
# |           142:  s_waitcnt lgkmcnt(0) 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           143:  buffer_store_dword v0, off, s[0:3], 0 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:27'1      ?                                      possible intended match
# |           144:  s_endpgm 
# | check:27'0     ~~~~~~~~~~
# |           145: .Lfunc_end2: 
# | check:27'0     ~~~~~~~~~~~~~
# |           146:  .size load_i16_sext_private, .Lfunc_end2-load_i16_sext_private 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           147:  ; -- End function 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~
# |           148:  .set load_i16_sext_private.num_vgpr, 1 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/fix-sgpr-copies-nondeterminism.ll
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx1100 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fix-sgpr-copies-nondeterminism.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fix-sgpr-copies-nondeterminism.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx1100
# .---command stderr------------
# | PHI nodes not grouped at top of basic block!
# |   %i5 = phi i32 [ %arg1, PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | Stack dump:
# | 0.	Program arguments: c:\\_work\\llvm-project\\llvm-project\\build\\bin\\llc.exe -mtriple=amdgcn -mcpu=gfx1100
# | 1.	Running pass 'CallGraph Pass Manager' on module '<stdin>'.
# | 2.	Running pass 'Module Verifier' on function '@f'
# | Exception Code: 0xC0000005
# |  #0 0x00007ff661afb340 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x176b340)
# |  #1 0x00007ff661afa8d7 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x176a8d7)
# |  #2 0x00007ff661b133e6 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x17833e6)
# |  #3 0x00007ff661b09347 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x1779347)
# |  #4 0x00007ff661b072d5 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x17772d5)
# |  #5 0x00007ff66087e1db (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x4ee1db)
# |  #6 0x00007ff660890007 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x500007)
# |  #7 0x00007ff66086d57f (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x4dd57f)
# |  #8 0x00007ff6608a9995 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x519995)
# |  #9 0x00007ff6608482b2 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x4b82b2)
# | #10 0x00007ff6624738cb (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x20e38cb)
# | #11 0x00007ff660848f91 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x4b8f91)
# | #12 0x00007ff660397c1c (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x7c1c)
# | #13 0x00007ff660394e86 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x4e86)
# | #14 0x00007ff664979604 (c:\_work\llvm-project\llvm-project\build\bin\llc.exe+0x45e9604)
# | #15 0x00007fff857c4cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #16 0x00007fff942bedcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# `-----------------------------
# error: command failed with exit status: 0xc0000005
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fix-sgpr-copies-nondeterminism.ll'
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\fix-sgpr-copies-nondeterminism.ll
# `-----------------------------
# error: command failed with exit status: 2

--

LLVM.CodeGen/AMDGPU/flat-scratch-alloca-issue-155902.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -O0 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx950 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch-alloca-issue-155902.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch-alloca-issue-155902.ll --check-prefix=GFX950
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -O0 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx950
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch-alloca-issue-155902.ll' --check-prefix=GFX950
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch-alloca-issue-155902.ll:8:16: error: GFX950-NEXT: expected string not found in input
# | ; GFX950-NEXT: s_mov_b32 s33, 0x4008
# |                ^
# | <stdin>:8:15: note: scanning from here
# | ; %bb.0: ; %bb
# |               ^
# | <stdin>:35:20: note: possible intended match here
# |  .amdhsa_float_round_mode_32 0
# |                    ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch-alloca-issue-155902.ll:237:16: error: GFX950-NEXT: expected string not found in input
# | ; GFX950-NEXT: s_add_i32 s1, s33, 0x4008
# |                ^
# | <stdin>:99:18: note: scanning from here
# |  s_mov_b32 s33, 0
# |                  ^
# | <stdin>:102:3: note: possible intended match here
# |  .p2align 6, 0x0
# |   ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch-alloca-issue-155902.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1:  .amdgcn_target "amdgcn-amd-amdhsa--gfx950" 
# |             2:  .amdhsa_code_object_version 6 
# |             3:  .text 
# |             4:  .globl issue155902 ; -- Begin function issue155902 
# |             5:  .p2align 8 
# |             6:  .type issue155902,@function 
# |             7: issue155902: ; @issue155902 
# |             8: ; %bb.0: ; %bb 
# | next:8'0                     X error: no match found
# |             9:  s_endpgm 
# | next:8'0       ~~~~~~~~~~
# |            10:  .section .rodata,"a",@progbits 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            11:  .p2align 6, 0x0 
# | next:8'0       ~~~~~~~~~~~~~~~~~
# |            12:  .amdhsa_kernel issue155902 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            13:  .amdhsa_group_segment_fixed_size 0 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |            30:  .amdhsa_system_vgpr_workitem_id 2 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            31:  .amdhsa_next_free_vgpr 1 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            32:  .amdhsa_next_free_sgpr 0 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            33:  .amdhsa_accum_offset 4 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~~~~
# |            34:  .amdhsa_reserve_vcc 0 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~~~
# |            35:  .amdhsa_float_round_mode_32 0 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:8'1                          ?            possible intended match
# |            36:  .amdhsa_float_round_mode_16_64 0 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            37:  .amdhsa_float_denorm_mode_32 3 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            38:  .amdhsa_float_denorm_mode_16_64 3 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            39:  .amdhsa_dx10_clamp 1 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~~
# |            40:  .amdhsa_ieee_mode 1 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |            94:  .globl issue155902_fp ; -- Begin function issue155902_fp 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            95:  .p2align 8 
# | next:8'0       ~~~~~~~~~~~~
# |            96:  .type issue155902_fp,@function 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            97: issue155902_fp: ; @issue155902_fp 
# | next:8'0       ~~~~~~~~~~~~~~~
# |            98: ; %bb.0: ; %bb 
# |            99:  s_mov_b32 s33, 0 
# | next:237'0                      X error: no match found
# |           100:  s_endpgm 
# | next:237'0     ~~~~~~~~~~
# |           101:  .section .rodata,"a",@progbits 
# | next:237'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           102:  .p2align 6, 0x0 
# | next:237'0     ~~~~~~~~~~~~~~~~~
# | next:237'1       ?               possible intended match
# |           103:  .amdhsa_kernel issue155902_fp 
# | next:237'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           104:  .amdhsa_group_segment_fixed_size 0 
# | next:237'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           105:  .amdhsa_private_segment_fixed_size 0 
# | next:237'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           106:  .amdhsa_kernarg_size 656 
# | next:237'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           107:  .amdhsa_user_sgpr_count 8 
# | next:237'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/flat-scratch.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx900 -mattr=-promote-alloca -mattr=+enable-flat-scratch < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefix=GFX9 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx900 -mattr=-promote-alloca -mattr=+enable-flat-scratch
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefix=GFX9 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll:1090:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: scratch_store_dwordx4 off, v[0:3], s0 offset:256
# |              ^
# | <stdin>:440:22: note: scanning from here
# |  v_mov_b32_e32 v3, s3
# |                      ^
# | <stdin>:442:2: note: possible intended match here
# |  scratch_store_dwordx4 off, v[0:3], s0 offset:20
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll:1306:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: scratch_store_dwordx4 off, v[0:3], s32 offset:256
# |              ^
# | <stdin>:509:22: note: scanning from here
# |  v_mov_b32_e32 v3, s3
# |                      ^
# | <stdin>:511:2: note: possible intended match here
# |  scratch_store_dwordx4 off, v[0:3], s32 offset:20
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll:1494:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: s_addk_i32 s1, 0x100
# |              ^
# | <stdin>:561:22: note: scanning from here
# |  v_mov_b32_e32 v0, 15
# |                      ^
# | <stdin>:562:2: note: possible intended match here
# |  s_add_i32 s1, s1, 4
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll:1716:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: s_addk_i32 s0, 0x100
# |              ^
# | <stdin>:632:22: note: scanning from here
# |  s_lshl_b32 s0, s2, 2
# |                      ^
# | <stdin>:633:2: note: possible intended match here
# |  s_add_i32 s0, s0, 4
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll:1926:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: v_add_u32_e32 v1, 0x100, v0
# |              ^
# | <stdin>:704:22: note: scanning from here
# |  s_lshl_b32 s0, s0, 7
# |                      ^
# | <stdin>:705:2: note: possible intended match here
# |  v_add_u32_e32 v1, 4, v0
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll:2149:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: s_add_i32 s1, s32, 0x100
# |              ^
# | <stdin>:767:41: note: scanning from here
# |  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# |                                         ^
# | <stdin>:768:2: note: possible intended match here
# |  s_add_i32 s1, s32, 4
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll:2317:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: scratch_load_dword v0, off, s0 offset:4 glc
# |              ^
# | <stdin>:820:17: note: scanning from here
# |  s_mov_b32 s0, 0
# |                 ^
# | <stdin>:821:2: note: possible intended match here
# |  scratch_load_dword v0, off, s0 glc
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll:2540:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: scratch_load_dword v0, off, s32 offset:4 glc
# |              ^
# | <stdin>:888:41: note: scanning from here
# |  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# |                                         ^
# | <stdin>:889:2: note: possible intended match here
# |  scratch_load_dword v0, off, s32 glc
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll:2785:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: scratch_load_dword v0, off, s1 offset:4 glc
# |              ^
# | <stdin>:945:17: note: scanning from here
# |  s_mov_b32 s1, 0
# |                 ^
# | <stdin>:946:2: note: possible intended match here
# |  scratch_load_dword v0, off, s1 glc
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll:3009:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: scratch_load_dword v0, off, s0 offset:4 glc
# |              ^
# | <stdin>:1018:17: note: scanning from here
# |  s_mov_b32 s0, 0
# |                 ^
# | <stdin>:1019:2: note: possible intended match here
# |  scratch_load_dword v0, off, s0 glc
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll:3217:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: scratch_load_dword v1, off, s1 offset:4 glc
# |              ^
# | <stdin>:1088:17: note: scanning from here
# |  s_mov_b32 s1, 0
# |                 ^
# | <stdin>:1089:2: note: possible intended match here
# |  scratch_load_dword v1, off, s1 glc
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll:3450:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: s_add_i32 s1, s32, 0x4004
# |              ^
# | <stdin>:1156:41: note: scanning from here
# |  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# |                                         ^
# | <stdin>:1157:2: note: possible intended match here
# |  s_add_i32 s1, s32, 4
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll:3622:14: error: GFX9-NEXT: is not on the line after the previous match
# | ; GFX9-NEXT: scratch_store_dword off, v0, s0 offset:4
# |              ^
# | <stdin>:1214:2: note: 'next' match was here
# |  scratch_store_dword off, v0, s0 offset:4
# |  ^
# | <stdin>:1210:17: note: previous match ended here
# |  s_mov_b32 s0, 0
# |                 ^
# | <stdin>:1211:1: note: non-matching line after previous match is here
# |  scratch_store_dword off, v0, s0
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll:3793:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: s_movk_i32 s0, 0x3000
# |              ^
# | <stdin>:1272:41: note: scanning from here
# |  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# |                                         ^
# | <stdin>:1273:2: note: possible intended match here
# |  v_mov_b32_e32 v0, 13
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\flat-scratch.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            435:  s_mov_b32 s2, s0 
# |            436:  s_mov_b32 s3, s0 
# |            437:  v_mov_b32_e32 v0, s0 
# |            438:  v_mov_b32_e32 v1, s1 
# |            439:  v_mov_b32_e32 v2, s2 
# |            440:  v_mov_b32_e32 v3, s3 
# | next:1090'0                          X error: no match found
# |            441:  scratch_store_dwordx4 off, v[0:3], s0 offset:4 
# | next:1090'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            442:  scratch_store_dwordx4 off, v[0:3], s0 offset:20 
# | next:1090'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1090'1      ?                                                possible intended match
# |            443:  scratch_store_dwordx4 off, v[0:3], s0 offset:36 
# | next:1090'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            444:  scratch_store_dwordx4 off, v[0:3], s0 offset:52 
# | next:1090'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            445:  s_endpgm 
# | next:1090'0     ~~~~~~~~~~
# |            446: .Lfunc_end7: 
# | next:1090'0     ~~~~~~~~~~~~~
# |            447:  .size zero_init_small_offset_kernel, .Lfunc_end7-zero_init_small_offset_kernel 
# | next:1090'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            504:  s_mov_b32 s2, s0 
# |            505:  s_mov_b32 s3, s0 
# |            506:  v_mov_b32_e32 v0, s0 
# |            507:  v_mov_b32_e32 v1, s1 
# |            508:  v_mov_b32_e32 v2, s2 
# |            509:  v_mov_b32_e32 v3, s3 
# | next:1306'0                          X error: no match found
# |            510:  scratch_store_dwordx4 off, v[0:3], s32 offset:4 
# | next:1306'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            511:  scratch_store_dwordx4 off, v[0:3], s32 offset:20 
# | next:1306'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1306'1      ?                                                 possible intended match
# |            512:  scratch_store_dwordx4 off, v[0:3], s32 offset:36 
# | next:1306'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            513:  scratch_store_dwordx4 off, v[0:3], s32 offset:52 
# | next:1306'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            514:  s_waitcnt vmcnt(0) 
# | next:1306'0     ~~~~~~~~~~~~~~~~~~~~
# |            515:  s_setpc_b64 s[30:31] 
# | next:1306'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            516: .Lfunc_end8: 
# | next:1306'0     ~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            556:  s_mov_b32 s1, 0 
# |            557:  scratch_load_dword v0, off, s1 glc 
# |            558:  s_waitcnt vmcnt(0) lgkmcnt(0) 
# |            559:  s_lshl_b32 s1, s0, 2 
# |            560:  s_and_b32 s0, s0, 15 
# |            561:  v_mov_b32_e32 v0, 15 
# | next:1494'0                          X error: no match found
# |            562:  s_add_i32 s1, s1, 4 
# | next:1494'0     ~~~~~~~~~~~~~~~~~~~~~
# | next:1494'1      ?                    possible intended match
# |            563:  s_lshl_b32 s0, s0, 2 
# | next:1494'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            564:  scratch_store_dword off, v0, s1 
# | next:1494'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            565:  s_waitcnt vmcnt(0) 
# | next:1494'0     ~~~~~~~~~~~~~~~~~~~~
# |            566:  s_add_i32 s0, s0, 4 
# | next:1494'0     ~~~~~~~~~~~~~~~~~~~~~
# |            567:  scratch_load_dword v0, off, s0 glc 
# | next:1494'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            627:  s_add_u32 flat_scratch_lo, s0, s3 
# |            628:  s_addc_u32 flat_scratch_hi, s1, 0 
# |            629:  s_mov_b32 s0, 0 
# |            630:  scratch_load_dword v0, off, s0 glc 
# |            631:  s_waitcnt vmcnt(0) 
# |            632:  s_lshl_b32 s0, s2, 2 
# | next:1716'0                          X error: no match found
# |            633:  s_add_i32 s0, s0, 4 
# | next:1716'0     ~~~~~~~~~~~~~~~~~~~~~
# | next:1716'1      ?                    possible intended match
# |            634:  v_mov_b32_e32 v0, 15 
# | next:1716'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            635:  scratch_store_dword off, v0, s0 
# | next:1716'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            636:  s_waitcnt vmcnt(0) 
# | next:1716'0     ~~~~~~~~~~~~~~~~~~~~
# |            637:  s_and_b32 s0, s2, 15 
# | next:1716'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            638:  s_lshl_b32 s0, s0, 2 
# | next:1716'0     ~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            699:  s_mov_b32 s1, 0 
# |            700:  scratch_load_dword v1, off, s1 glc 
# |            701:  s_waitcnt vmcnt(0) 
# |            702:  v_lshlrev_b32_e32 v0, 2, v0 
# |            703:  s_waitcnt lgkmcnt(0) 
# |            704:  s_lshl_b32 s0, s0, 7 
# | next:1926'0                          X error: no match found
# |            705:  v_add_u32_e32 v1, 4, v0 
# | next:1926'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1926'1      ?                        possible intended match
# |            706:  s_add_i32 s0, s0, 4 
# | next:1926'0     ~~~~~~~~~~~~~~~~~~~~~
# |            707:  v_mov_b32_e32 v2, 15 
# | next:1926'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            708:  scratch_store_dword v1, v2, off offset:128 
# | next:1926'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            709:  s_waitcnt vmcnt(0) 
# | next:1926'0     ~~~~~~~~~~~~~~~~~~~~
# |            710:  v_sub_u32_e32 v0, s0, v0 
# | next:1926'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            762:  .globl store_load_vindex_small_offset_foo ; -- Begin function store_load_vindex_small_offset_foo 
# | next:1926'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            763:  .p2align 2 
# | next:1926'0     ~~~~~~~~~~~~
# |            764:  .type store_load_vindex_small_offset_foo,@function 
# | next:1926'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            765: store_load_vindex_small_offset_foo: ; @store_load_vindex_small_offset_foo 
# | next:1926'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            766: ; %bb.0: ; %bb 
# |            767:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# | next:2149'0                                             X error: no match found
# |            768:  s_add_i32 s1, s32, 4 
# | next:2149'0     ~~~~~~~~~~~~~~~~~~~~~~
# | next:2149'1      ?                     possible intended match
# |            769:  scratch_load_dword v1, off, s32 glc 
# | next:2149'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            770:  s_waitcnt vmcnt(0) 
# | next:2149'0     ~~~~~~~~~~~~~~~~~~~~
# |            771:  s_mov_b32 s0, s1 
# | next:2149'0     ~~~~~~~~~~~~~~~~~~
# |            772:  v_lshl_add_u32 v1, v0, 2, s0 
# | next:2149'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            773:  v_mov_b32_e32 v2, 15 
# | next:2149'0     ~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            815:  .type zero_init_large_offset_kernel,@function 
# | next:2149'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            816: zero_init_large_offset_kernel: ; @zero_init_large_offset_kernel 
# | next:2149'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            817: ; %bb.0: 
# |            818:  s_add_u32 flat_scratch_lo, s8, s13 
# |            819:  s_addc_u32 flat_scratch_hi, s9, 0 
# |            820:  s_mov_b32 s0, 0 
# | next:2317'0                     X error: no match found
# |            821:  scratch_load_dword v0, off, s0 glc 
# | next:2317'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:2317'1      ?                                   possible intended match
# |            822:  s_waitcnt vmcnt(0) 
# | next:2317'0     ~~~~~~~~~~~~~~~~~~~~
# |            823:  s_mov_b32 s1, s0 
# | next:2317'0     ~~~~~~~~~~~~~~~~~~
# |            824:  s_mov_b32 s2, s0 
# | next:2317'0     ~~~~~~~~~~~~~~~~~~
# |            825:  s_mov_b32 s3, s0 
# | next:2317'0     ~~~~~~~~~~~~~~~~~~
# |            826:  v_mov_b32_e32 v0, s0 
# | next:2317'0     ~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            883:  .globl zero_init_large_offset_foo ; -- Begin function zero_init_large_offset_foo 
# | next:2317'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            884:  .p2align 2 
# | next:2317'0     ~~~~~~~~~~~~
# |            885:  .type zero_init_large_offset_foo,@function 
# | next:2317'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            886: zero_init_large_offset_foo: ; @zero_init_large_offset_foo 
# | next:2317'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            887: ; %bb.0: 
# |            888:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# | next:2540'0                                             X error: no match found
# |            889:  scratch_load_dword v0, off, s32 glc 
# | next:2540'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:2540'1      ?                                    possible intended match
# |            890:  s_waitcnt vmcnt(0) 
# | next:2540'0     ~~~~~~~~~~~~~~~~~~~~
# |            891:  s_mov_b32 s0, 0 
# | next:2540'0     ~~~~~~~~~~~~~~~~~
# |            892:  s_mov_b32 s1, s0 
# | next:2540'0     ~~~~~~~~~~~~~~~~~~
# |            893:  s_mov_b32 s2, s0 
# | next:2540'0     ~~~~~~~~~~~~~~~~~~
# |            894:  s_mov_b32 s3, s0 
# | next:2540'0     ~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            940: store_load_sindex_large_offset_kernel: ; @store_load_sindex_large_offset_kernel 
# | next:2540'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            941: ; %bb.0: ; %bb 
# |            942:  s_load_dword s0, s[4:5], 0x24 
# |            943:  s_add_u32 flat_scratch_lo, s8, s13 
# |            944:  s_addc_u32 flat_scratch_hi, s9, 0 
# |            945:  s_mov_b32 s1, 0 
# | next:2785'0                     X error: no match found
# |            946:  scratch_load_dword v0, off, s1 glc 
# | next:2785'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:2785'1      ?                                   possible intended match
# |            947:  s_waitcnt vmcnt(0) lgkmcnt(0) 
# | next:2785'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            948:  s_lshl_b32 s1, s0, 2 
# | next:2785'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            949:  s_and_b32 s0, s0, 15 
# | next:2785'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            950:  v_mov_b32_e32 v0, 15 
# | next:2785'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            951:  s_add_i32 s1, s1, 4 
# | next:2785'0     ~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           1013:  .type store_load_sindex_large_offset_foo,@function 
# | next:2785'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1014: store_load_sindex_large_offset_foo: ; @store_load_sindex_large_offset_foo 
# | next:2785'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1015: ; %bb.0: ; %bb 
# |           1016:  s_add_u32 flat_scratch_lo, s0, s3 
# |           1017:  s_addc_u32 flat_scratch_hi, s1, 0 
# |           1018:  s_mov_b32 s0, 0 
# | next:3009'0                     X error: no match found
# |           1019:  scratch_load_dword v0, off, s0 glc 
# | next:3009'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:3009'1      ?                                   possible intended match
# |           1020:  s_waitcnt vmcnt(0) 
# | next:3009'0     ~~~~~~~~~~~~~~~~~~~~
# |           1021:  s_lshl_b32 s0, s2, 2 
# | next:3009'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           1022:  s_add_i32 s0, s0, 4 
# | next:3009'0     ~~~~~~~~~~~~~~~~~~~~~
# |           1023:  v_mov_b32_e32 v0, 15 
# | next:3009'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           1024:  scratch_store_dword off, v0, s0 
# | next:3009'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           1083: store_load_vindex_large_offset_kernel: ; @store_load_vindex_large_offset_kernel 
# | next:3009'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1084: ; %bb.0: ; %bb 
# |           1085:  s_load_dword s0, s[4:5], 0x24 
# |           1086:  s_add_u32 flat_scratch_lo, s8, s13 
# |           1087:  s_addc_u32 flat_scratch_hi, s9, 0 
# |           1088:  s_mov_b32 s1, 0 
# | next:3217'0                     X error: no match found
# |           1089:  scratch_load_dword v1, off, s1 glc 
# | next:3217'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:3217'1      ?                                   possible intended match
# |           1090:  s_waitcnt vmcnt(0) 
# | next:3217'0     ~~~~~~~~~~~~~~~~~~~~
# |           1091:  v_lshlrev_b32_e32 v0, 2, v0 
# | next:3217'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1092:  s_waitcnt lgkmcnt(0) 
# | next:3217'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           1093:  s_lshl_b32 s0, s0, 7 
# | next:3217'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           1094:  v_add_u32_e32 v1, 4, v0 
# | next:3217'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           1151:  .globl store_load_vindex_large_offset_foo ; -- Begin function store_load_vindex_large_offset_foo 
# | next:3217'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1152:  .p2align 2 
# | next:3217'0     ~~~~~~~~~~~~
# |           1153:  .type store_load_vindex_large_offset_foo,@function 
# | next:3217'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1154: store_load_vindex_large_offset_foo: ; @store_load_vindex_large_offset_foo 
# | next:3217'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1155: ; %bb.0: ; %bb 
# |           1156:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# | next:3450'0                                             X error: no match found
# |           1157:  s_add_i32 s1, s32, 4 
# | next:3450'0     ~~~~~~~~~~~~~~~~~~~~~~
# | next:3450'1      ?                     possible intended match
# |           1158:  scratch_load_dword v1, off, s32 glc 
# | next:3450'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1159:  s_waitcnt vmcnt(0) 
# | next:3450'0     ~~~~~~~~~~~~~~~~~~~~
# |           1160:  s_mov_b32 s0, s1 
# | next:3450'0     ~~~~~~~~~~~~~~~~~~
# |           1161:  v_lshl_add_u32 v1, v0, 2, s0 
# | next:3450'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1162:  v_mov_b32_e32 v2, 15 
# | next:3450'0     ~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           1209:  v_mov_b32_e32 v0, 13 
# |           1210:  s_mov_b32 s0, 0 
# |           1211:  scratch_store_dword off, v0, s0 
# |           1212:  s_waitcnt vmcnt(0) 
# |           1213:  v_mov_b32_e32 v0, 15 
# |           1214:  scratch_store_dword off, v0, s0 offset:4 
# | next:3622        !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |           1215:  s_waitcnt vmcnt(0) 
# |           1216:  scratch_load_dword v0, off, s0 offset:4 glc 
# |           1217:  s_waitcnt vmcnt(0) 
# |           1218:  s_endpgm 
# |           1219: .Lfunc_end19: 
# |              .
# |              .
# |              .
# |           1267:  .globl store_load_large_imm_offset_foo ; -- Begin function store_load_large_imm_offset_foo 
# |           1268:  .p2align 2 
# |           1269:  .type store_load_large_imm_offset_foo,@function 
# |           1270: store_load_large_imm_offset_foo: ; @store_load_large_imm_offset_foo 
# |           1271: ; %bb.0: ; %bb 
# |           1272:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# | next:3793'0                                             X error: no match found
# |           1273:  v_mov_b32_e32 v0, 13 
# | next:3793'0     ~~~~~~~~~~~~~~~~~~~~~~
# | next:3793'1      ?                     possible intended match
# |           1274:  scratch_store_dword off, v0, s32 
# | next:3793'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1275:  s_waitcnt vmcnt(0) 
# | next:3793'0     ~~~~~~~~~~~~~~~~~~~~
# |           1276:  v_mov_b32_e32 v0, 15 
# | next:3793'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           1277:  scratch_store_dword off, v0, s32 offset:4 
# | next:3793'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1278:  s_waitcnt vmcnt(0) 
# | next:3793'0     ~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/frame-index-elimination.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-amd-amdhsa -mcpu=kaveri -mattr=-promote-alloca < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\frame-index-elimination.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -enable-var-scope -check-prefixes=GCN,CI,MUBUF C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\frame-index-elimination.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-amd-amdhsa -mcpu=kaveri -mattr=-promote-alloca
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -enable-var-scope -check-prefixes=GCN,CI,MUBUF 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\frame-index-elimination.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\frame-index-elimination.ll:194:10: error: MUBUF: expected string not found in input
# | ; MUBUF: s_addk_i32 [[SCALED]], 0x200
# |          ^
# | <stdin>:315:23: note: scanning from here
# |  s_lshr_b32 s5, s32, 6
# |                       ^
# | <stdin>:315:23: note: with "SCALED" equal to "s5"
# |  s_lshr_b32 s5, s32, 6
# |                       ^
# | <stdin>:316:2: note: possible intended match here
# |  s_add_i32 s5, s5, 4
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\frame-index-elimination.ll:218:10: error: MUBUF: expected string not found in input
# | ; MUBUF: s_addk_i32 [[SCALED]], 0x200
# |          ^
# | <stdin>:353:23: note: scanning from here
# |  s_lshr_b32 s5, s32, 6
# |                       ^
# | <stdin>:353:23: note: with "SCALED" equal to "s5"
# |  s_lshr_b32 s5, s32, 6
# |                       ^
# | <stdin>:354:2: note: possible intended match here
# |  s_add_i32 s5, s5, 4
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\frame-index-elimination.ll:339:7: error: CI: expected string not found in input
# | ; CI: v_lshr_b32_e64 [[SCALED_FP:v[0-9]+]], s33, 6
# |       ^
# | <stdin>:647:23: note: scanning from here
# | fi_vop3_literal_error: ; @fi_vop3_literal_error
# |                       ^
# | <stdin>:650:2: note: possible intended match here
# |  s_mov_b32 s4, s33
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\frame-index-elimination.ll:364:8: error: GCN: expected string not found in input
# | ; GCN: s_add_u32 [[ADD_LO:s[0-9]+]], 0x1010, [[S_MOVK_I32_]]
# |        ^
# | <stdin>:693:23: note: scanning from here
# |  s_movk_i32 s4, 0x1000
# |                       ^
# | <stdin>:693:23: note: with "S_MOVK_I32_" equal to "s4"
# |  s_movk_i32 s4, 0x1000
# |                       ^
# | <stdin>:694:2: note: possible intended match here
# |  s_add_u32 s4, 16, s4
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\frame-index-elimination.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            310:  .p2align 2 
# |            311:  .type func_other_fi_user_non_inline_imm_offset_i32,@function 
# |            312: func_other_fi_user_non_inline_imm_offset_i32: ; @func_other_fi_user_non_inline_imm_offset_i32 
# |            313: ; %bb.0: 
# |            314:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |            315:  s_lshr_b32 s5, s32, 6 
# | check:194'0                           X error: no match found
# | check:194'1                             with "SCALED" equal to "s5"
# |            316:  s_add_i32 s5, s5, 4 
# | check:194'0     ~~~~~~~~~~~~~~~~~~~~~
# | check:194'2      ?                    possible intended match
# |            317:  v_mov_b32_e32 v0, 7 
# | check:194'0     ~~~~~~~~~~~~~~~~~~~~~
# |            318:  s_mul_i32 s4, s5, 9 
# | check:194'0     ~~~~~~~~~~~~~~~~~~~~~
# |            319:  buffer_store_dword v0, off, s[0:3], s32 
# | check:194'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            320:  s_waitcnt vmcnt(0) 
# | check:194'0     ~~~~~~~~~~~~~~~~~~~~
# |            321:  v_mov_b32_e32 v0, s4 
# | check:194'0     ~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            348:  .p2align 2 
# | check:194'0     ~~~~~~~~~~~~
# |            349:  .type func_other_fi_user_non_inline_imm_offset_i32_vcc_live,@function 
# | check:194'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            350: func_other_fi_user_non_inline_imm_offset_i32_vcc_live: ; @func_other_fi_user_non_inline_imm_offset_i32_vcc_live 
# | check:194'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            351: ; %bb.0: 
# |            352:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |            353:  s_lshr_b32 s5, s32, 6 
# | check:218'0                           X error: no match found
# | check:218'1                             with "SCALED" equal to "s5"
# |            354:  s_add_i32 s5, s5, 4 
# | check:218'0     ~~~~~~~~~~~~~~~~~~~~~
# | check:218'2      ?                    possible intended match
# |            355:  v_mov_b32_e32 v0, 7 
# | check:218'0     ~~~~~~~~~~~~~~~~~~~~~
# |            356:  s_mul_i32 s4, s5, 9 
# | check:218'0     ~~~~~~~~~~~~~~~~~~~~~
# |            357:  ;;#ASMSTART 
# | check:218'0     ~~~~~~~~~~~~~
# |            358:  ; def vcc 
# | check:218'0     ~~~~~~~~~~~
# |            359:  ;;#ASMEND 
# | check:218'0     ~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            642: ; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 2 
# |            643:  .text 
# |            644:  .globl fi_vop3_literal_error ; -- Begin function fi_vop3_literal_error 
# |            645:  .p2align 2 
# |            646:  .type fi_vop3_literal_error,@function 
# |            647: fi_vop3_literal_error: ; @fi_vop3_literal_error 
# | check:339'0                           X~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |            648: ; %bb.0: ; %entry 
# | check:339'0     ~~~~~~~~~~~~~~~~~~
# |            649:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# | check:339'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            650:  s_mov_b32 s4, s33 
# | check:339'0     ~~~~~~~~~~~~~~~~~~~
# | check:339'1      ?                  possible intended match
# |            651:  s_add_i32 s33, s32, 0xfc0 
# | check:339'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            652:  s_and_b32 s33, s33, 0xfffff000 
# | check:339'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            653:  buffer_load_dword v0, off, s[0:3], s33 glc 
# | check:339'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            654:  s_waitcnt vmcnt(0) 
# | check:339'0     ~~~~~~~~~~~~~~~~~~~~
# |            655:  buffer_load_dword v0, off, s[0:3], s33 offset:4 glc 
# | check:339'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            688: fi_sop2_s_add_u32_literal_error: ; @fi_sop2_s_add_u32_literal_error 
# | check:339'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            689: ; %bb.0: ; %entry 
# |            690:  s_load_dword s5, s[8:9], 0x30 
# |            691:  s_add_u32 s0, s0, s17 
# |            692:  s_addc_u32 s1, s1, 0 
# |            693:  s_movk_i32 s4, 0x1000 
# | check:364'0                           X error: no match found
# | check:364'1                             with "S_MOVK_I32_" equal to "s4"
# |            694:  s_add_u32 s4, 16, s4 
# | check:364'0     ~~~~~~~~~~~~~~~~~~~~~~
# | check:364'2      ?                     possible intended match
# |            695:  s_waitcnt lgkmcnt(0) 
# | check:364'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            696:  s_addc_u32 s5, s5, 0 
# | check:364'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            697:  v_cmp_lt_u64_e64 s[4:5], s[4:5], 2 
# | check:364'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            698:  v_mov_b32_e32 v0, 0 
# | check:364'0     ~~~~~~~~~~~~~~~~~~~~~
# |            699:  buffer_store_dword v0, off, s[0:3], 0 offset:4 
# | check:364'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/insert_vector_elt.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-amd-amdhsa -mcpu=kaveri -mattr=-flat-for-global,+max-private-element-size-16 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\insert_vector_elt.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -enable-var-scope -check-prefixes=GCN,SI C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\insert_vector_elt.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-amd-amdhsa -mcpu=kaveri -mattr=-flat-for-global,+max-private-element-size-16
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -enable-var-scope -check-prefixes=GCN,SI 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\insert_vector_elt.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\insert_vector_elt.ll:1157:12: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: s_load_dwordx8 s[0:7], s[8:9], 0x8
# |            ^
# | <stdin>:2562:9: note: scanning from here
# | ; %bb.0:
# |         ^
# | <stdin>:2613:38: note: possible intended match here
# |  .set dynamic_insertelement_v8i32.uses_flat_scratch, 0
# |                                      ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\insert_vector_elt.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |           2557:  .text 
# |           2558:  .globl dynamic_insertelement_v8i32 ; -- Begin function dynamic_insertelement_v8i32 
# |           2559:  .p2align 8 
# |           2560:  .type dynamic_insertelement_v8i32,@function 
# |           2561: dynamic_insertelement_v8i32: ; @dynamic_insertelement_v8i32 
# |           2562: ; %bb.0: 
# | next:1157'0             X error: no match found
# |           2563:  s_endpgm 
# | next:1157'0     ~~~~~~~~~~
# |           2564:  .section .rodata,"a",@progbits 
# | next:1157'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2565:  .p2align 6, 0x0 
# | next:1157'0     ~~~~~~~~~~~~~~~~~
# |           2566:  .amdhsa_kernel dynamic_insertelement_v8i32 
# | next:1157'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2567:  .amdhsa_group_segment_fixed_size 0 
# | next:1157'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           2608:  .set dynamic_insertelement_v8i32.num_agpr, 0 
# | next:1157'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2609:  .set dynamic_insertelement_v8i32.numbered_sgpr, 0 
# | next:1157'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2610:  .set dynamic_insertelement_v8i32.num_named_barrier, 0 
# | next:1157'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2611:  .set dynamic_insertelement_v8i32.private_seg_size, 0 
# | next:1157'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2612:  .set dynamic_insertelement_v8i32.uses_vcc, 0 
# | next:1157'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2613:  .set dynamic_insertelement_v8i32.uses_flat_scratch, 0 
# | next:1157'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1157'1                                          ?                  possible intended match
# |           2614:  .set dynamic_insertelement_v8i32.has_dyn_sized_stack, 0 
# | next:1157'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2615:  .set dynamic_insertelement_v8i32.has_recursion, 0 
# | next:1157'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2616:  .set dynamic_insertelement_v8i32.has_indirect_call, 0 
# | next:1157'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2617:  .section .AMDGPU.csdata,"",@progbits 
# | next:1157'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2618: ; Kernel info: 
# | next:1157'0     ~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/llc-pipeline.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -O0 -mtriple=amdgcn--amdhsa -disable-verify -debug-pass=Structure < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\llc-pipeline.ll 2>&1    | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -match-full-lines -strict-whitespace -check-prefix=GCN-O0 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\llc-pipeline.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -O0 -mtriple=amdgcn--amdhsa -disable-verify -debug-pass=Structure
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -match-full-lines -strict-whitespace -check-prefix=GCN-O0 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\llc-pipeline.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\llc-pipeline.ll:58:15: error: GCN-O0-NEXT: is not on the line after the previous match
# | ; GCN-O0-NEXT:    Lower buffer fat pointer operations to buffer resources
# |               ^
# | <stdin>:48:1: note: 'next' match was here
# |     Lower buffer fat pointer operations to buffer resources
# | ^
# | <stdin>:43:36: note: previous match ended here
# |       AMDGPU Lower Kernel Arguments
# |                                    ^
# | <stdin>:44:1: note: non-matching line after previous match is here
# |       Dominator Tree Construction
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\llc-pipeline.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |          .
# |          .
# |          .
# |         43:       AMDGPU Lower Kernel Arguments 
# |         44:       Dominator Tree Construction 
# |         45:       Natural Loop Information 
# |         46:       AMDGPU TDM Descriptor Optimization 
# |         47:       SROA 
# |         48:     Lower buffer fat pointer operations to buffer resources 
# | next:58     !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |         49:     AMDGPU lower intrinsics 
# |         50:     FunctionPass Manager 
# |         51:       Lazy Value Information Analysis 
# |         52:       Lower SwitchInst's to branches 
# |         53:       Lower invoke and unwind, for unwindless code generators 
# |          .
# |          .
# |          .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/load-hi16.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx900 -mattr=-promote-alloca < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-hi16.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GFX900 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-hi16.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx900 -mattr=-promote-alloca
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GFX900 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-hi16.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-hi16.ll:2045:16: error: GFX900-NEXT: expected string not found in input
# | ; GFX900-NEXT: buffer_load_short_d16_hi v0, off, s[0:3], s32 offset:4058
# |                ^
# | <stdin>:1752:20: note: scanning from here
# |  s_waitcnt vmcnt(0)
# |                    ^
# | <stdin>:1755:2: note: possible intended match here
# |  global_store_dword v[0:1], v0, off
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-hi16.ll:2106:16: error: GFX900-NEXT: is not on the line after the previous match
# | ; GFX900-NEXT: buffer_store_dword v2, v1, s[0:3], 0 offen
# |                ^
# | <stdin>:1798:2: note: 'next' match was here
# |  buffer_store_dword v2, v1, s[0:3], 0 offen
# |  ^
# | <stdin>:1796:24: note: previous match ended here
# |  v_mov_b32_e32 v2, 0x7b
# |                        ^
# | <stdin>:1797:1: note: non-matching line after previous match is here
# |  v_and_b32_e32 v0, 0xffff, v0
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-hi16.ll:2170:16: error: GFX900-NEXT: is not on the line after the previous match
# | ; GFX900-NEXT: buffer_store_dword v2, v1, s[0:3], 0 offen
# |                ^
# | <stdin>:1843:2: note: 'next' match was here
# |  buffer_store_dword v2, v1, s[0:3], 0 offen
# |  ^
# | <stdin>:1841:24: note: previous match ended here
# |  v_mov_b32_e32 v2, 0x7b
# |                        ^
# | <stdin>:1842:1: note: non-matching line after previous match is here
# |  v_and_b32_e32 v0, 0xffff, v0
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-hi16.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |           1747: load_private_hi_v2i16_reglo_vreg_to_offset: ; @load_private_hi_v2i16_reglo_vreg_to_offset 
# |           1748: ; %bb.0: ; %entry 
# |           1749:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           1750:  v_mov_b32_e32 v2, 0x7b 
# |           1751:  buffer_store_dword v2, v1, s[0:3], 0 offen 
# |           1752:  s_waitcnt vmcnt(0) 
# | next:2045'0                        X error: no match found
# |           1753:  v_mov_b32_e32 v1, 0x5040100 
# | next:2045'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1754:  v_perm_b32 v0, s4, v0, v1 
# | next:2045'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1755:  global_store_dword v[0:1], v0, off 
# | next:2045'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:2045'1      ?                                   possible intended match
# |           1756:  s_waitcnt vmcnt(0) 
# | next:2045'0     ~~~~~~~~~~~~~~~~~~~~
# |           1757:  s_setpc_b64 s[30:31] 
# | next:2045'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           1758: .Lfunc_end40: 
# | next:2045'0     ~~~~~~~~~~~~~~
# |           1759:  .size load_private_hi_v2i16_reglo_vreg_to_offset, .Lfunc_end40-load_private_hi_v2i16_reglo_vreg_to_offset 
# | next:2045'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1760:  ; -- End function 
# | next:2045'0     ~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           1793: load_private_hi_v2i16_reglo_vreg_sexti8_to_offset: ; @load_private_hi_v2i16_reglo_vreg_sexti8_to_offset 
# | next:2045'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1794: ; %bb.0: ; %entry 
# |           1795:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           1796:  v_mov_b32_e32 v2, 0x7b 
# |           1797:  v_and_b32_e32 v0, 0xffff, v0 
# |           1798:  buffer_store_dword v2, v1, s[0:3], 0 offen 
# | next:2106        !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |           1799:  s_waitcnt vmcnt(0) 
# |           1800:  global_store_dword v[0:1], v0, off 
# |           1801:  s_waitcnt vmcnt(0) 
# |           1802:  s_setpc_b64 s[30:31] 
# |           1803: .Lfunc_end41: 
# |              .
# |              .
# |              .
# |           1838: load_private_hi_v2i16_reglo_vreg_zexti8_to_offset: ; @load_private_hi_v2i16_reglo_vreg_zexti8_to_offset 
# |           1839: ; %bb.0: ; %entry 
# |           1840:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           1841:  v_mov_b32_e32 v2, 0x7b 
# |           1842:  v_and_b32_e32 v0, 0xffff, v0 
# |           1843:  buffer_store_dword v2, v1, s[0:3], 0 offen 
# | next:2170        !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |           1844:  s_waitcnt vmcnt(0) 
# |           1845:  global_store_dword v[0:1], v0, off 
# |           1846:  s_waitcnt vmcnt(0) 
# |           1847:  s_setpc_b64 s[30:31] 
# |           1848: .Lfunc_end42: 
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/load-lo16.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx900 -mattr=-promote-alloca < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-lo16.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GFX900,GFX900-MUBUF C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-lo16.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx900 -mattr=-promote-alloca
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GFX900,GFX900-MUBUF 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-lo16.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-lo16.ll:1996:22: error: GFX900-MUBUF-NEXT: expected string not found in input
# | ; GFX900-MUBUF-NEXT: buffer_store_dword v1, off, s[0:3], s32 offset:4
# |                      ^
# | <stdin>:1892:24: note: scanning from here
# |  v_mov_b32_e32 v1, 0x7b
# |                        ^
# | <stdin>:1893:2: note: possible intended match here
# |  buffer_store_dword v1, off, s[0:3], s32
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-lo16.ll:2064:22: error: GFX900-MUBUF-NEXT: expected string not found in input
# | ; GFX900-MUBUF-NEXT: buffer_store_dword v1, off, s[0:3], s32 offset:4
# |                      ^
# | <stdin>:1938:24: note: scanning from here
# |  v_mov_b32_e32 v1, 0x7b
# |                        ^
# | <stdin>:1939:2: note: possible intended match here
# |  buffer_store_dword v1, off, s[0:3], s32
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-lo16.ll:2133:22: error: GFX900-MUBUF-NEXT: expected string not found in input
# | ; GFX900-MUBUF-NEXT: buffer_store_dword v1, off, s[0:3], s32 offset:4
# |                      ^
# | <stdin>:1984:24: note: scanning from here
# |  v_mov_b32_e32 v1, 0x7b
# |                        ^
# | <stdin>:1985:2: note: possible intended match here
# |  buffer_store_dword v1, off, s[0:3], s32
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-lo16.ll:2202:22: error: GFX900-MUBUF-NEXT: expected string not found in input
# | ; GFX900-MUBUF-NEXT: buffer_store_dword v1, off, s[0:3], s32 offset:4
# |                      ^
# | <stdin>:2030:24: note: scanning from here
# |  v_mov_b32_e32 v1, 0x7b
# |                        ^
# | <stdin>:2031:2: note: possible intended match here
# |  buffer_store_dword v1, off, s[0:3], s32
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-lo16.ll:2272:22: error: GFX900-MUBUF-NEXT: expected string not found in input
# | ; GFX900-MUBUF-NEXT: buffer_store_dword v1, off, s[0:3], s32 offset:4
# |                      ^
# | <stdin>:2076:24: note: scanning from here
# |  v_mov_b32_e32 v1, 0x7b
# |                        ^
# | <stdin>:2077:2: note: possible intended match here
# |  buffer_store_dword v1, off, s[0:3], s32
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\load-lo16.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |           1887:  .p2align 2 
# |           1888:  .type load_private_lo_v2i16_reglo_vreg_to_offset,@function 
# |           1889: load_private_lo_v2i16_reglo_vreg_to_offset: ; @load_private_lo_v2i16_reglo_vreg_to_offset 
# |           1890: ; %bb.0: ; %entry 
# |           1891:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           1892:  v_mov_b32_e32 v1, 0x7b 
# | next:1996'0                            X error: no match found
# |           1893:  buffer_store_dword v1, off, s[0:3], s32 
# | next:1996'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1996'1      ?                                        possible intended match
# |           1894:  s_waitcnt vmcnt(0) 
# | next:1996'0     ~~~~~~~~~~~~~~~~~~~~
# |           1895:  buffer_load_short_d16 v0, off, s[0:3], s32 offset:4 glc 
# | next:1996'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1896:  s_waitcnt vmcnt(0) 
# | next:1996'0     ~~~~~~~~~~~~~~~~~~~~
# |           1897:  global_store_dword v[0:1], v0, off 
# | next:1996'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1898:  s_waitcnt vmcnt(0) 
# | next:1996'0     ~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           1933:  .p2align 2 
# | next:1996'0     ~~~~~~~~~~~~
# |           1934:  .type load_private_lo_v2i16_reglo_vreg_sexti8_to_offset,@function 
# | next:1996'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1935: load_private_lo_v2i16_reglo_vreg_sexti8_to_offset: ; @load_private_lo_v2i16_reglo_vreg_sexti8_to_offset 
# | next:1996'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1936: ; %bb.0: ; %entry 
# |           1937:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           1938:  v_mov_b32_e32 v1, 0x7b 
# | next:2064'0                            X error: no match found
# |           1939:  buffer_store_dword v1, off, s[0:3], s32 
# | next:2064'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:2064'1      ?                                        possible intended match
# |           1940:  s_waitcnt vmcnt(0) 
# | next:2064'0     ~~~~~~~~~~~~~~~~~~~~
# |           1941:  buffer_load_sbyte_d16 v0, off, s[0:3], s32 offset:4 glc 
# | next:2064'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1942:  s_waitcnt vmcnt(0) 
# | next:2064'0     ~~~~~~~~~~~~~~~~~~~~
# |           1943:  global_store_dword v[0:1], v0, off 
# | next:2064'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1944:  s_waitcnt vmcnt(0) 
# | next:2064'0     ~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           1979:  .p2align 2 
# | next:2064'0     ~~~~~~~~~~~~
# |           1980:  .type load_private_lo_v2i16_reglo_vreg_zexti8_to_offset,@function 
# | next:2064'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1981: load_private_lo_v2i16_reglo_vreg_zexti8_to_offset: ; @load_private_lo_v2i16_reglo_vreg_zexti8_to_offset 
# | next:2064'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1982: ; %bb.0: ; %entry 
# |           1983:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           1984:  v_mov_b32_e32 v1, 0x7b 
# | next:2133'0                            X error: no match found
# |           1985:  buffer_store_dword v1, off, s[0:3], s32 
# | next:2133'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:2133'1      ?                                        possible intended match
# |           1986:  s_waitcnt vmcnt(0) 
# | next:2133'0     ~~~~~~~~~~~~~~~~~~~~
# |           1987:  buffer_load_ubyte_d16 v0, off, s[0:3], s32 offset:4 glc 
# | next:2133'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1988:  s_waitcnt vmcnt(0) 
# | next:2133'0     ~~~~~~~~~~~~~~~~~~~~
# |           1989:  global_store_dword v[0:1], v0, off 
# | next:2133'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1990:  s_waitcnt vmcnt(0) 
# | next:2133'0     ~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           2025:  .p2align 2 
# | next:2133'0     ~~~~~~~~~~~~
# |           2026:  .type load_private_lo_v2f16_reglo_vreg_sexti8_to_offset,@function 
# | next:2133'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2027: load_private_lo_v2f16_reglo_vreg_sexti8_to_offset: ; @load_private_lo_v2f16_reglo_vreg_sexti8_to_offset 
# | next:2133'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2028: ; %bb.0: ; %entry 
# |           2029:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           2030:  v_mov_b32_e32 v1, 0x7b 
# | next:2202'0                            X error: no match found
# |           2031:  buffer_store_dword v1, off, s[0:3], s32 
# | next:2202'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:2202'1      ?                                        possible intended match
# |           2032:  s_waitcnt vmcnt(0) 
# | next:2202'0     ~~~~~~~~~~~~~~~~~~~~
# |           2033:  buffer_load_sbyte_d16 v0, off, s[0:3], s32 offset:4 glc 
# | next:2202'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2034:  s_waitcnt vmcnt(0) 
# | next:2202'0     ~~~~~~~~~~~~~~~~~~~~
# |           2035:  global_store_dword v[0:1], v0, off 
# | next:2202'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2036:  s_waitcnt vmcnt(0) 
# | next:2202'0     ~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           2071:  .p2align 2 
# | next:2202'0     ~~~~~~~~~~~~
# |           2072:  .type load_private_lo_v2f16_reglo_vreg_zexti8_to_offset,@function 
# | next:2202'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2073: load_private_lo_v2f16_reglo_vreg_zexti8_to_offset: ; @load_private_lo_v2f16_reglo_vreg_zexti8_to_offset 
# | next:2202'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2074: ; %bb.0: ; %entry 
# |           2075:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           2076:  v_mov_b32_e32 v1, 0x7b 
# | next:2272'0                            X error: no match found
# |           2077:  buffer_store_dword v1, off, s[0:3], s32 
# | next:2272'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:2272'1      ?                                        possible intended match
# |           2078:  s_waitcnt vmcnt(0) 
# | next:2272'0     ~~~~~~~~~~~~~~~~~~~~
# |           2079:  buffer_load_ubyte_d16 v0, off, s[0:3], s32 offset:4 glc 
# | next:2272'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2080:  s_waitcnt vmcnt(0) 
# | next:2272'0     ~~~~~~~~~~~~~~~~~~~~
# |           2081:  global_store_dword v[0:1], v0, off 
# | next:2272'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2082:  s_waitcnt vmcnt(0) 
# | next:2272'0     ~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/mdt-preserving-crash.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mdt-preserving-crash.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mdt-preserving-crash.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mdt-preserving-crash.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mdt-preserving-crash.ll:12:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: s_add_u32 s0, s0, s17
# |               ^
# | <stdin>:12:28: note: scanning from here
# |  flat_load_dword v0, v[0:1]
# |                            ^
# | <stdin>:15:2: note: possible intended match here
# |  s_add_u32 s20, s20, s17
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\mdt-preserving-crash.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |            7:  .type _RSENC_PRInit__________________________________,@function 
# |            8: _RSENC_PRInit__________________________________: ; @_RSENC_PRInit__________________________________ 
# |            9: ; %bb.0: ; %entry 
# |           10:  s_add_u32 flat_scratch_lo, s12, s17 
# |           11:  s_addc_u32 flat_scratch_hi, s13, 0 
# |           12:  flat_load_dword v0, v[0:1] 
# | next:12'0                                X error: no match found
# |           13:  s_mov_b64 s[22:23], s[2:3] 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           14:  s_mov_b64 s[20:21], s[0:1] 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           15:  s_add_u32 s20, s20, s17 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:12'1      ?                        possible intended match
# |           16:  s_mov_b32 s0, 0xf19b3 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~
# |           17:  s_addc_u32 s21, s21, 0 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |           18:  s_waitcnt vmcnt(0) lgkmcnt(0) 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           19:  v_lshl_add_u32 v0, v0, 1, v0 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           20:  v_cmp_ne_u32_e32 vcc, s0, v0 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/memory-legalizer-store-infinite-loop.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn--amdhsa < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\memory-legalizer-store-infinite-loop.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=GCN C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\memory-legalizer-store-infinite-loop.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn--amdhsa
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=GCN 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\memory-legalizer-store-infinite-loop.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\memory-legalizer-store-infinite-loop.ll:15:13: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: s_add_u32 s0, s0, s17
# |             ^
# | <stdin>:11:36: note: scanning from here
# |  s_lshr_b32 flat_scratch_hi, s12, 8
# |                                    ^
# | <stdin>:18:2: note: possible intended match here
# |  s_add_u32 s0, s0, 4
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\memory-legalizer-store-infinite-loop.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |            6:  .type _Z6brokenPd,@function 
# |            7: _Z6brokenPd: ; @_Z6brokenPd 
# |            8: ; %bb.0: ; %bb 
# |            9:  s_mov_b32 flat_scratch_lo, s13 
# |           10:  s_add_i32 s12, s12, s17 
# |           11:  s_lshr_b32 flat_scratch_hi, s12, 8 
# | next:15'0                                        X error: no match found
# |           12:  s_load_dwordx2 s[0:1], s[8:9], 0x0 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           13:  v_mov_b32_e32 v2, 0 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~
# |           14:  v_mov_b32_e32 v3, 0x7ff80000 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           15:  s_waitcnt lgkmcnt(0) 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           16:  v_mov_b32_e32 v0, s0 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           17:  v_mov_b32_e32 v1, s1 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           18:  s_add_u32 s0, s0, 4 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~
# | next:15'1      ?                    possible intended match
# |           19:  s_addc_u32 s1, s1, 0 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           20:  flat_store_dword v[0:1], v2 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           21:  v_mov_b32_e32 v0, s0 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           22:  v_mov_b32_e32 v1, s1 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           23:  flat_store_dword v[0:1], v3 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/nested-calls.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=fiji -mattr=-flat-for-global < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\nested-calls.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -enable-var-scope -check-prefixes=GCN,FIJI C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\nested-calls.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=fiji -mattr=-flat-for-global
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -enable-var-scope -check-prefixes=GCN,FIJI 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\nested-calls.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\nested-calls.ll:53:13: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: buffer_store_dword v40, off, s[0:3], s33 offset:64 ; 4-byte Folded Spill
# |             ^
# | <stdin>:85:32: note: scanning from here
# |  s_or_saveexec_b64 s[18:19], -1
# |                                ^
# | <stdin>:86:2: note: possible intended match here
# |  buffer_store_dword v40, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\nested-calls.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |           80: test_func_call_external_void_func_i32_imm_stack_use: ; @test_func_call_external_void_func_i32_imm_stack_use 
# |           81: ; %bb.0: 
# |           82:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           83:  s_mov_b32 s16, s33 
# |           84:  s_mov_b32 s33, s32 
# |           85:  s_or_saveexec_b64 s[18:19], -1 
# | next:53'0                                    X error: no match found
# |           86:  buffer_store_dword v40, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill 
# | next:53'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:53'1      ?                                                                        possible intended match
# |           87:  s_mov_b64 exec, s[18:19] 
# | next:53'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           88:  s_addk_i32 s32, 0x400 
# | next:53'0     ~~~~~~~~~~~~~~~~~~~~~~~
# |           89:  v_writelane_b32 v40, s16, 2 
# | next:53'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           90:  s_getpc_b64 s[16:17] 
# | next:53'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           91:  s_add_u32 s16, s16, external_void_func_i32@gotpcrel32@lo+4 
# | next:53'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/parallelandifcollapse.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=r600 -mcpu=redwood -mattr=-promote-alloca < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\parallelandifcollapse.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\parallelandifcollapse.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=r600 -mcpu=redwood -mattr=-promote-alloca
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\parallelandifcollapse.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\parallelandifcollapse.ll:6:10: error: CHECK: expected string not found in input
# | ; CHECK: AND_INT
# |          ^
# | <stdin>:1:1: note: scanning from here
# |  .section .AMDGPU.config,"",@progbits
# | ^
# | <stdin>:17:9: note: possible intended match here
# |  PRED_SETNE_INT * Pred,PredicateBit (MASKED), PV.W, 0.0, 
# |         ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\parallelandifcollapse.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1:  .section .AMDGPU.config,"",@progbits 
# | check:6'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |            2:  .long 166100 
# | check:6'0     ~~~~~~~~~~~~~~
# |            3:  .long 1 
# | check:6'0     ~~~~~~~~~
# |            4:  .long 165900 
# | check:6'0     ~~~~~~~~~~~~~~
# |            5:  .long 0 
# | check:6'0     ~~~~~~~~~
# |            6:  .long 166120 
# | check:6'0     ~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# |           12: _Z9chk1D_512v: ; @_Z9chk1D_512v 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           13: ; %bb.0: ; %entry 
# | check:6'0     ~~~~~~~~~~~~~~~~~~
# |           14:  ALU 2, @0, KC0[], KC1[] 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |           15:  MOV * T0.W, literal.x,  
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |           16:  0(0.000000e+00), 0(0.000000e+00) 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           17:  PRED_SETNE_INT * Pred,PredicateBit (MASKED), PV.W, 0.0,  
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:6'1             ?                                                  possible intended match
# |           18:  RETURN 
# | check:6'0     ~~~~~~~~
# |           19:  
# | check:6'0     ~
# |           20: .Lfunc_end0: 
# | check:6'0     ~~~~~~~~~~~~~
# |           21:  .size _Z9chk1D_512v, .Lfunc_end0-_Z9chk1D_512v 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           22:  ; -- End function 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/required-export-priority.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx1150 -amdgpu-enable-vopd=0 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\required-export-priority.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=GCN C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\required-export-priority.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx1150 -amdgpu-enable-vopd=0
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=GCN 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\required-export-priority.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\required-export-priority.ll:269:13: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: v_cndmask_b32_e32 v0, 16, v2, vcc_lo
# |             ^
# | <stdin>:889:33: note: scanning from here
# |  s_delay_alu instid0(VALU_DEP_2)
# |                                 ^
# | <stdin>:890:2: note: possible intended match here
# |  v_cndmask_b32_e32 v0, 8, v2, vcc_lo
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\required-export-priority.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           884: test_export_across_store_load: ; @test_export_across_store_load 
# |           885: ; %bb.0: 
# |           886:  s_setprio 2 
# |           887:  v_mov_b32_e32 v2, 0 
# |           888:  v_cmp_eq_u32_e32 vcc_lo, 1, v0 
# |           889:  s_delay_alu instid0(VALU_DEP_2) 
# | next:269'0                                     X error: no match found
# |           890:  v_cndmask_b32_e32 v0, 8, v2, vcc_lo 
# | next:269'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:269'1      ?                                    possible intended match
# |           891:  v_mov_b32_e32 v2, 0 
# | next:269'0     ~~~~~~~~~~~~~~~~~~~~~
# |           892:  scratch_store_b32 v0, v1, off 
# | next:269'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           893:  scratch_load_b32 v0, off, off 
# | next:269'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           894:  v_mov_b32_e32 v1, 1.0 
# | next:269'0     ~~~~~~~~~~~~~~~~~~~~~~~
# |           895:  exp pos0 v2, v2, v2, v1 done 
# | next:269'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/resource-optimization-remarks.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 -pass-remarks-output=C:\_work\llvm-project\llvm-project\build\test\CodeGen\AMDGPU\Output\resource-optimization-remarks.ll.tmp -pass-remarks-analysis=kernel-resource-usage -filetype=null C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\resource-optimization-remarks.ll 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=STDERR C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\resource-optimization-remarks.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 '-pass-remarks-output=C:\_work\llvm-project\llvm-project\build\test\CodeGen\AMDGPU\Output\resource-optimization-remarks.ll.tmp' -pass-remarks-analysis=kernel-resource-usage -filetype=null 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\resource-optimization-remarks.ll'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=STDERR 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\resource-optimization-remarks.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\resource-optimization-remarks.ll:165:16: error: STDERR-NEXT: expected string not found in input
# | ; STDERR-NEXT: remark: foo.cl:74:0: ScratchSize [bytes/lane]: 144
# |                ^
# | <stdin>:34:66: note: scanning from here
# | remark: foo.cl:74:0: AGPRs: test_indirect_w_static_stack.num_agpr
# |                                                                  ^
# | <stdin>:35:1: note: possible intended match here
# | remark: foo.cl:74:0: ScratchSize [bytes/lane]: 48
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\resource-optimization-remarks.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            29: remark: foo.cl:64:0: VGPRs Spill: 0 
# |            30: remark: foo.cl:64:0: LDS Size [bytes/block]: 0 
# |            31: remark: foo.cl:74:0: Function Name: test_indirect_w_static_stack 
# |            32: remark: foo.cl:74:0: TotalSGPRs: test_indirect_w_static_stack.numbered_sgpr+6 
# |            33: remark: foo.cl:74:0: VGPRs: test_indirect_w_static_stack.num_vgpr 
# |            34: remark: foo.cl:74:0: AGPRs: test_indirect_w_static_stack.num_agpr 
# | next:165'0                                                                      X error: no match found
# |            35: remark: foo.cl:74:0: ScratchSize [bytes/lane]: 48 
# | next:165'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:165'1     ?                                                  possible intended match
# |            36: remark: foo.cl:74:0: Dynamic Stack: True 
# | next:165'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            37: remark: foo.cl:74:0: Occupancy [waves/SIMD]: occupancy(10, 4, 256, 8, 10, max(test_indirect_w_static_stack.numbered_sgpr+extrasgprs(test_indirect_w_static_stack.uses_vcc, test_indirect_w_static_stack.uses_flat_scratch, 1), 1, 0), max(totalnumvgprs(test_indirect_w_static_stack.num_agpr, test_indirect_w_static_stack.num_vgpr), 1, 0)) 
# | next:165'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            38: remark: foo.cl:74:0: SGPRs Spill: 0 
# | next:165'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            39: remark: foo.cl:74:0: VGPRs Spill: 0 
# | next:165'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            40: remark: foo.cl:74:0: LDS Size [bytes/block]: 0 
# | next:165'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/sibling-call.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-amd-amdhsa -mcpu=fiji -mattr=-flat-for-global -enable-ipra=0 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sibling-call.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -enable-var-scope -check-prefixes=GCN,FIJI C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sibling-call.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-amd-amdhsa -mcpu=fiji -mattr=-flat-for-global -enable-ipra=0
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -enable-var-scope -check-prefixes=GCN,FIJI 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sibling-call.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sibling-call.ll:35:14: error: FIJI-NEXT: expected string not found in input
# | ; FIJI-NEXT: buffer_store_dword v2, off, s[0:3], s32 offset:20
# |              ^
# | <stdin>:40:31: note: scanning from here
# |  v_add_u32_e32 v0, vcc, v0, v1
# |                               ^
# | <stdin>:41:2: note: possible intended match here
# |  buffer_store_dword v2, off, s[0:3], s32
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sibling-call.ll:87:13: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: buffer_store_dword v2, off, s[0:3], s32 offset:20
# |             ^
# | <stdin>:109:21: note: scanning from here
# |  v_mov_b32_e32 v2, 9
# |                     ^
# | <stdin>:110:2: note: possible intended match here
# |  buffer_store_dword v2, off, s[0:3], s32
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sibling-call.ll:107:13: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: buffer_store_dword v2, off, s[0:3], s32 offset:20
# |             ^
# | <stdin>:144:21: note: scanning from here
# |  v_mov_b32_e32 v2, 9
# |                     ^
# | <stdin>:145:2: note: possible intended match here
# |  buffer_store_dword v2, off, s[0:3], s32
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sibling-call.ll:358:13: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: buffer_store_dword v34, off, s[0:3], s32 offset:32
# |             ^
# | <stdin>:509:22: note: scanning from here
# |  v_mov_b32_e32 v34, 9
# |                      ^
# | <stdin>:510:2: note: possible intended match here
# |  buffer_store_dword v34, off, s[0:3], s32 offset:12
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sibling-call.ll:504:13: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: buffer_store_dword v34, off, s[0:3], s32 offset:32
# |             ^
# | <stdin>:699:22: note: scanning from here
# |  v_mov_b32_e32 v34, 9
# |                      ^
# | <stdin>:700:2: note: possible intended match here
# |  buffer_store_dword v34, off, s[0:3], s32 offset:12
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sibling-call.ll:528:13: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: buffer_store_dword v2, off, s[0:3], s32 offset:48
# |             ^
# | <stdin>:738:21: note: scanning from here
# |  v_mov_b32_e32 v2, 9
# |                     ^
# | <stdin>:739:2: note: possible intended match here
# |  buffer_store_dword v2, off, s[0:3], s32 offset:28
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sibling-call.ll:886:13: error: GCN-NEXT: is not on the line after the previous match
# | ; GCN-NEXT: buffer_store_dword v1, off, s[0:3], s32 offset:148
# |             ^
# | <stdin>:960:2: note: 'next' match was here
# |  buffer_store_dword v1, off, s[0:3], s32 offset:148
# |  ^
# | <stdin>:958:58: note: previous match ended here
# |  s_addc_u32 s17, s17, void_fastcc_multi_byval@rel32@hi+12
# |                                                          ^
# | <stdin>:959:1: note: non-matching line after previous match is here
# |  buffer_store_dword v1, off, s[0:3], s32 offset:144
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sibling-call.ll:918:13: error: GCN-NEXT: is not on the line after the previous match
# | ; GCN-NEXT: buffer_store_dword v1, off, s[0:3], s32 offset:148
# |             ^
# | <stdin>:1003:2: note: 'next' match was here
# |  buffer_store_dword v1, off, s[0:3], s32 offset:148
# |  ^
# | <stdin>:1001:21: note: previous match ended here
# |  v_mov_b32_e32 v1, 9
# |                     ^
# | <stdin>:1002:1: note: non-matching line after previous match is here
# |  buffer_store_dword v1, off, s[0:3], s32 offset:144
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\sibling-call.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            35:  .type i32_fastcc_i32_i32_stack_object,@function 
# |            36: i32_fastcc_i32_i32_stack_object: ; @i32_fastcc_i32_i32_stack_object 
# |            37: ; %bb.0: 
# |            38:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |            39:  v_mov_b32_e32 v2, 9 
# |            40:  v_add_u32_e32 v0, vcc, v0, v1 
# | next:35'0                                    X error: no match found
# |            41:  buffer_store_dword v2, off, s[0:3], s32 
# | next:35'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:35'1       ?                                        possible intended match
# |            42:  s_waitcnt vmcnt(0) 
# | next:35'0      ~~~~~~~~~~~~~~~~~~~~
# |            43:  s_setpc_b64 s[30:31] 
# | next:35'0      ~~~~~~~~~~~~~~~~~~~~~~
# |            44: .Lfunc_end1: 
# | next:35'0      ~~~~~~~~~~~~~
# |            45:  .size i32_fastcc_i32_i32_stack_object, .Lfunc_end1-i32_fastcc_i32_i32_stack_object 
# | next:35'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            46:  ; -- End function 
# | next:35'0      ~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           104:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           105:  s_getpc_b64 s[4:5] 
# |           106:  s_add_u32 s4, s4, i32_fastcc_i32_i32@gotpcrel32@lo+4 
# |           107:  s_addc_u32 s5, s5, i32_fastcc_i32_i32@gotpcrel32@hi+12 
# |           108:  s_load_dwordx2 s[4:5], s[4:5], 0x0 
# |           109:  v_mov_b32_e32 v2, 9 
# | next:87'0                          X error: no match found
# |           110:  buffer_store_dword v2, off, s[0:3], s32 
# | next:87'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:87'1       ?                                        possible intended match
# |           111:  s_waitcnt vmcnt(0) lgkmcnt(0) 
# | next:87'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           112:  s_setpc_b64 s[4:5] 
# | next:87'0      ~~~~~~~~~~~~~~~~~~~~
# |           113: .Lfunc_end3: 
# | next:87'0      ~~~~~~~~~~~~~
# |           114:  .size sibling_call_i32_fastcc_i32_i32_stack_object, .Lfunc_end3-sibling_call_i32_fastcc_i32_i32_stack_object 
# | next:87'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           115:  ; -- End function 
# | next:87'0      ~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           139:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           140:  s_getpc_b64 s[4:5] 
# |           141:  s_add_u32 s4, s4, i32_fastcc_i32_i32_stack_object@gotpcrel32@lo+4 
# |           142:  s_addc_u32 s5, s5, i32_fastcc_i32_i32_stack_object@gotpcrel32@hi+12 
# |           143:  s_load_dwordx2 s[4:5], s[4:5], 0x0 
# |           144:  v_mov_b32_e32 v2, 9 
# | next:107'0                         X error: no match found
# |           145:  buffer_store_dword v2, off, s[0:3], s32 
# | next:107'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:107'1      ?                                        possible intended match
# |           146:  s_waitcnt vmcnt(0) lgkmcnt(0) 
# | next:107'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           147:  s_setpc_b64 s[4:5] 
# | next:107'0     ~~~~~~~~~~~~~~~~~~~~
# |           148: .Lfunc_end4: 
# | next:107'0     ~~~~~~~~~~~~~
# |           149:  .size sibling_call_i32_fastcc_i32_i32_callee_stack_object, .Lfunc_end4-sibling_call_i32_fastcc_i32_i32_callee_stack_object 
# | next:107'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           150:  ; -- End function 
# | next:107'0     ~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           504:  buffer_load_dword v33, off, s[0:3], s32 offset:8 
# |           505:  s_getpc_b64 s[4:5] 
# |           506:  s_add_u32 s4, s4, i32_fastcc_i32_i32_a32i32@gotpcrel32@lo+4 
# |           507:  s_addc_u32 s5, s5, i32_fastcc_i32_i32_a32i32@gotpcrel32@hi+12 
# |           508:  s_load_dwordx2 s[4:5], s[4:5], 0x0 
# |           509:  v_mov_b32_e32 v34, 9 
# | next:358'0                          X error: no match found
# |           510:  buffer_store_dword v34, off, s[0:3], s32 offset:12 
# | next:358'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:358'1      ?                                                   possible intended match
# |           511:  s_waitcnt vmcnt(0) 
# | next:358'0     ~~~~~~~~~~~~~~~~~~~~
# |           512:  buffer_store_dword v31, off, s[0:3], s32 
# | next:358'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           513:  buffer_store_dword v32, off, s[0:3], s32 offset:4 
# | next:358'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           514:  buffer_store_dword v33, off, s[0:3], s32 offset:8 
# | next:358'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           515:  s_waitcnt lgkmcnt(0) 
# | next:358'0     ~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           694:  buffer_load_dword v33, off, s[0:3], s32 offset:8 
# |           695:  s_getpc_b64 s[4:5] 
# |           696:  s_add_u32 s4, s4, i32_fastcc_i32_i32_a32i32@gotpcrel32@lo+4 
# |           697:  s_addc_u32 s5, s5, i32_fastcc_i32_i32_a32i32@gotpcrel32@hi+12 
# |           698:  s_load_dwordx2 s[4:5], s[4:5], 0x0 
# |           699:  v_mov_b32_e32 v34, 9 
# | next:504'0                          X error: no match found
# |           700:  buffer_store_dword v34, off, s[0:3], s32 offset:12 
# | next:504'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:504'1      ?                                                   possible intended match
# |           701:  s_waitcnt vmcnt(0) 
# | next:504'0     ~~~~~~~~~~~~~~~~~~~~
# |           702:  buffer_store_dword v31, off, s[0:3], s32 
# | next:504'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           703:  buffer_store_dword v32, off, s[0:3], s32 offset:4 
# | next:504'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           704:  buffer_store_dword v33, off, s[0:3], s32 offset:8 
# | next:504'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           705:  s_waitcnt lgkmcnt(0) 
# | next:504'0     ~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           733:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           734:  s_getpc_b64 s[4:5] 
# |           735:  s_add_u32 s4, s4, i32_fastcc_i32_i32_a32i32@gotpcrel32@lo+4 
# |           736:  s_addc_u32 s5, s5, i32_fastcc_i32_i32_a32i32@gotpcrel32@hi+12 
# |           737:  s_load_dwordx2 s[4:5], s[4:5], 0x0 
# |           738:  v_mov_b32_e32 v2, 9 
# | next:528'0                         X error: no match found
# |           739:  buffer_store_dword v2, off, s[0:3], s32 offset:28 
# | next:528'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:528'1      ?                                                  possible intended match
# |           740:  s_waitcnt vmcnt(0) 
# | next:528'0     ~~~~~~~~~~~~~~~~~~~~
# |           741:  v_mov_b32_e32 v2, 0 
# | next:528'0     ~~~~~~~~~~~~~~~~~~~~~
# |           742:  buffer_store_dword v2, off, s[0:3], s32 
# | next:528'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           743:  buffer_store_dword v2, off, s[0:3], s32 offset:4 
# | next:528'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           744:  buffer_store_dword v2, off, s[0:3], s32 offset:8 
# | next:528'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           955:  v_mov_b32_e32 v2, 0 
# |           956:  s_getpc_b64 s[16:17] 
# |           957:  s_add_u32 s16, s16, void_fastcc_multi_byval@rel32@lo+4 
# |           958:  s_addc_u32 s17, s17, void_fastcc_multi_byval@rel32@hi+12 
# |           959:  buffer_store_dword v1, off, s[0:3], s32 offset:144 
# |           960:  buffer_store_dword v1, off, s[0:3], s32 offset:148 
# | next:886        !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |           961:  buffer_store_dword v1, off, s[0:3], s32 offset:152 
# |           962:  buffer_store_dword v2, off, s[0:3], s32 offset:164 
# |           963:  buffer_store_dword v2, off, s[0:3], s32 offset:160 
# |           964:  buffer_store_dword v2, off, s[0:3], s32 offset:172 
# |           965:  buffer_store_dword v2, off, s[0:3], s32 offset:168 
# |             .
# |             .
# |             .
# |           998: sibling_call_byval_and_stack_passed: ; @sibling_call_byval_and_stack_passed 
# |           999: ; %bb.0: ; %entry 
# |          1000:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |          1001:  v_mov_b32_e32 v1, 9 
# |          1002:  buffer_store_dword v1, off, s[0:3], s32 offset:144 
# |          1003:  buffer_store_dword v1, off, s[0:3], s32 offset:148 
# | next:918        !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |          1004:  buffer_store_dword v1, off, s[0:3], s32 offset:152 
# |          1005:  buffer_store_dword v1, off, s[0:3], s32 offset:4 
# |          1006:  buffer_store_dword v1, off, s[0:3], s32 
# |          1007:  buffer_store_dword v1, off, s[0:3], s32 offset:8 
# |          1008:  v_mov_b32_e32 v1, 0 
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/splitkit-getsubrangeformask.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx1010 -stop-after=greedy < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\splitkit-getsubrangeformask.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\splitkit-getsubrangeformask.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx1010 -stop-after=greedy
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\splitkit-getsubrangeformask.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\splitkit-getsubrangeformask.ll:34:16: error: CHECK-NEXT: expected string not found in input
# |  ; CHECK-NEXT: [[S_BUFFER_LOAD_DWORD_IMM:%[0-9]+]]:sreg_32_xm0_xexec = S_BUFFER_LOAD_DWORD_IMM undef %130:sgpr_128, 0, 0 :: (dereferenceable invariant load (s32))
# |                ^
# | <stdin>:1374:114: note: scanning from here
# |  undef %66.sub0_sub1:sgpr_128 = S_LOAD_DWORDX2_IMM %56, 232, 0 :: (invariant load (s64) from %ir.39, addrspace 4)
# |                                                                                                                  ^
# | <stdin>:1375:2: note: possible intended match here
# |  %123:sreg_32_xm0_xexec = S_BUFFER_LOAD_DWORD_IMM undef %124:sgpr_128, 0, 0 :: (dereferenceable invariant load (s32))
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\splitkit-getsubrangeformask.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |         1369:  %22:sgpr_32 = COPY $sgpr22 
# |         1370:  %23:sgpr_32 = COPY $sgpr23 
# |         1371:  %9:sgpr_32 = COPY $sgpr9 
# |         1372:  %10:sgpr_32 = COPY $sgpr10 
# |         1373:  %8:sgpr_32 = COPY $sgpr8 
# |         1374:  undef %66.sub0_sub1:sgpr_128 = S_LOAD_DWORDX2_IMM %56, 232, 0 :: (invariant load (s64) from %ir.39, addrspace 4) 
# | next:34'0                                                                                                                      X error: no match found
# |         1375:  %123:sreg_32_xm0_xexec = S_BUFFER_LOAD_DWORD_IMM undef %124:sgpr_128, 0, 0 :: (dereferenceable invariant load (s32)) 
# | next:34'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:34'1      ?                                                                                                                     possible intended match
# |         1376:  KILL undef %124:sgpr_128 
# | next:34'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         1377:  %80:sreg_32 = S_LSHL_B32 %3, 4, implicit-def dead $scc 
# | next:34'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         1378:  %93:sreg_32 = S_LSHL_B32 %4, 4, implicit-def dead $scc 
# | next:34'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         1379:  %103:sreg_32 = S_LSHL_B32 %5, 4, implicit-def dead $scc 
# | next:34'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         1380:  %83:sreg_32_xm0 = S_ASHR_I32 %80, 31, implicit-def dead $scc 
# | next:34'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/stacksave_stackrestore.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-amd-amdpal -mcpu=gfx1030 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\stacksave_stackrestore.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefixes=GCN,WAVE32,WAVE32-OPT C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\stacksave_stackrestore.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-amd-amdpal -mcpu=gfx1030
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefixes=GCN,WAVE32,WAVE32-OPT 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\stacksave_stackrestore.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\stacksave_stackrestore.ll:857:20: error: WAVE32-OPT-NEXT: expected string not found in input
# | ; WAVE32-OPT-NEXT: s_movk_i32 s32, 0x1200
# |                    ^
# | <stdin>:575:30: note: scanning from here
# |  v_lshlrev_b32_e32 v1, 10, v1
# |                              ^
# | <stdin>:576:2: note: possible intended match here
# |  s_movk_i32 s32, 0x200
# |  ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\stacksave_stackrestore.ll:1270:20: error: WAVE32-OPT-NEXT: expected string not found in input
# | ; WAVE32-OPT-NEXT: buffer_store_dword v32, off, s[0:3], s33 offset:128 ; 4-byte Folded Spill
# |                    ^
# | <stdin>:650:28: note: scanning from here
# |  s_xor_saveexec_b32 s16, -1
# |                            ^
# | <stdin>:651:2: note: possible intended match here
# |  buffer_store_dword v32, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\stacksave_stackrestore.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            570: ; %bb.0: 
# |            571:  s_getpc_b64 s[20:21] 
# |            572:  s_mov_b32 s20, s0 
# |            573:  v_lshlrev_b32_e32 v2, 20, v2 
# |            574:  s_load_dwordx4 s[20:23], s[20:21], 0x0 
# |            575:  v_lshlrev_b32_e32 v1, 10, v1 
# | next:857'0                                   X error: no match found
# |            576:  s_movk_i32 s32, 0x200 
# | next:857'0      ~~~~~~~~~~~~~~~~~~~~~~~
# | next:857'1       ?                      possible intended match
# |            577:  s_mov_b32 s13, s9 
# | next:857'0      ~~~~~~~~~~~~~~~~~~~
# |            578:  s_mov_b32 s12, s8 
# | next:857'0      ~~~~~~~~~~~~~~~~~~~
# |            579:  s_mov_b64 s[8:9], s[4:5] 
# | next:857'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            580:  s_mov_b32 s4, s32 
# | next:857'0      ~~~~~~~~~~~~~~~~~~~
# |            581:  v_mov_b32_e32 v3, 42 
# | next:857'0      ~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            645: func_stacksave_stackrestore_call_with_stack_objects: ; @func_stacksave_stackrestore_call_with_stack_objects 
# | next:857'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            646: ; %bb.0: 
# |            647:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |            648:  s_mov_b32 s20, s33 
# |            649:  s_mov_b32 s33, s32 
# |            650:  s_xor_saveexec_b32 s16, -1 
# | next:1270'0                                X error: no match found
# |            651:  buffer_store_dword v32, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill 
# | next:1270'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1270'1      ?                                                                        possible intended match
# |            652:  s_mov_b32 exec_lo, s16 
# | next:1270'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |            653:  v_writelane_b32 v32, s30, 0 
# | next:1270'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            654:  v_mov_b32_e32 v0, 42 
# | next:1270'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            655:  v_mov_b32_e32 v1, 17 
# | next:1270'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            656:  s_addk_i32 s32, 0x200 
# | next:1270'0     ~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/store-hi16.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx900 -mattr=-promote-alloca < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\store-hi16.ll | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -allow-deprecated-dag-overlap -check-prefixes=GCN,GFX9,GFX9-MUBUF C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\store-hi16.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx900 -mattr=-promote-alloca
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -allow-deprecated-dag-overlap -check-prefixes=GCN,GFX9,GFX9-MUBUF 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\store-hi16.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\store-hi16.ll:621:20: error: GFX9-MUBUF-NEXT: expected string not found in input
# | ; GFX9-MUBUF-NEXT: buffer_store_short_d16_hi v0, off, s[0:3], s32 offset:4058
# |                    ^
# | <stdin>:1296:20: note: scanning from here
# |  s_waitcnt vmcnt(0)
# |                    ^
# | <stdin>:1333:1: note: possible intended match here
# | store_private_hi_v2i16_i8_to_offset: ; @store_private_hi_v2i16_i8_to_offset
# | ^
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\store-hi16.ll:642:20: error: GFX9-MUBUF-NEXT: expected string not found in input
# | ; GFX9-MUBUF-NEXT: buffer_store_byte_d16_hi v0, off, s[0:3], s32 offset:4059
# |                    ^
# | <stdin>:1338:20: note: scanning from here
# |  s_waitcnt vmcnt(0)
# |                    ^
# | <stdin>:1341:51: note: possible intended match here
# |  .size store_private_hi_v2i16_i8_to_offset, .Lfunc_end32-store_private_hi_v2i16_i8_to_offset
# |                                                   ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\store-hi16.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |          1291: store_private_hi_v2i16_to_offset: ; @store_private_hi_v2i16_to_offset 
# |          1292: ; %bb.0: ; %entry 
# |          1293:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |          1294:  v_mov_b32_e32 v0, 0x7b 
# |          1295:  buffer_store_dword v0, v1, s[0:3], 0 offen 
# |          1296:  s_waitcnt vmcnt(0) 
# | next:621'0                        X error: no match found
# |          1297:  s_setpc_b64 s[30:31] 
# | next:621'0     ~~~~~~~~~~~~~~~~~~~~~~
# |          1298: .Lfunc_end31: 
# | next:621'0     ~~~~~~~~~~~~~~
# |          1299:  .size store_private_hi_v2i16_to_offset, .Lfunc_end31-store_private_hi_v2i16_to_offset 
# | next:621'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          1300:  ; -- End function 
# | next:621'0     ~~~~~~~~~~~~~~~~~~~
# |          1301:  .set store_private_hi_v2i16_to_offset.num_vgpr, 2 
# | next:621'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |          1328:  .long 0 
# | next:621'0     ~~~~~~~~~
# |          1329:  .text 
# | next:621'0     ~~~~~~~
# |          1330:  .globl store_private_hi_v2i16_i8_to_offset ; -- Begin function store_private_hi_v2i16_i8_to_offset 
# | next:621'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          1331:  .p2align 2 
# | next:621'0     ~~~~~~~~~~~~
# |          1332:  .type store_private_hi_v2i16_i8_to_offset,@function 
# | next:621'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          1333: store_private_hi_v2i16_i8_to_offset: ; @store_private_hi_v2i16_i8_to_offset 
# | next:621'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:621'1     ?                                                                            possible intended match
# |          1334: ; %bb.0: ; %entry 
# |          1335:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |          1336:  v_mov_b32_e32 v0, 0x7b 
# |          1337:  buffer_store_dword v0, v1, s[0:3], 0 offen 
# |          1338:  s_waitcnt vmcnt(0) 
# | next:642'0                        X error: no match found
# |          1339:  s_setpc_b64 s[30:31] 
# | next:642'0     ~~~~~~~~~~~~~~~~~~~~~~
# |          1340: .Lfunc_end32: 
# | next:642'0     ~~~~~~~~~~~~~~
# |          1341:  .size store_private_hi_v2i16_i8_to_offset, .Lfunc_end32-store_private_hi_v2i16_i8_to_offset 
# | next:642'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:642'1                                                       ?                                           possible intended match
# |          1342:  ; -- End function 
# | next:642'0     ~~~~~~~~~~~~~~~~~~~
# |          1343:  .set store_private_hi_v2i16_i8_to_offset.num_vgpr, 2 
# | next:642'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          1344:  .set store_private_hi_v2i16_i8_to_offset.num_agpr, 0 
# | next:642'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          1345:  .set store_private_hi_v2i16_i8_to_offset.numbered_sgpr, 32 
# | next:642'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          1346:  .set store_private_hi_v2i16_i8_to_offset.num_named_barrier, 0 
# | next:642'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.DebugInfo/AMDGPU/pointer-address-space.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -O0 -mtriple=amdgcn--amdhsa -mcpu=fiji -verify-machineinstrs -filetype=obj < C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\AMDGPU\pointer-address-space.ll | c:\_work\llvm-project\llvm-project\build\bin\llvm-dwarfdump.exe -v -debug-info - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\AMDGPU\pointer-address-space.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -O0 -mtriple=amdgcn--amdhsa -mcpu=fiji -verify-machineinstrs -filetype=obj
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-dwarfdump.exe' -v -debug-info -
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\AMDGPU\pointer-address-space.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\AMDGPU\pointer-address-space.ll:25:10: error: CHECK: expected string not found in input
# | ; CHECK: DW_AT_name {{.*}}"FuncVar2"
# |          ^
# | <stdin>:36:56: note: scanning from here
# |  DW_AT_type [DW_FORM_ref4] (cu + 0x006c => {0x0000006c} "int *")
# |                                                        ^
# | <stdin>:40:2: note: possible intended match here
# |  DW_AT_name [DW_FORM_strp] ( .debug_str[0x0000004f] = "FuncVar4")
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\AMDGPU\pointer-address-space.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            31: 0x00000053: DW_TAG_variable [3] (0x0000002f) 
# |            32:  DW_AT_const_value [DW_FORM_udata] (0) 
# |            33:  DW_AT_name [DW_FORM_strp] ( .debug_str[0x00000046] = "FuncVar1") 
# |            34:  DW_AT_decl_file [DW_FORM_data1] ("/some/random/directory\pointer-address-space.ll") 
# |            35:  DW_AT_decl_line [DW_FORM_data1] (3) 
# |            36:  DW_AT_type [DW_FORM_ref4] (cu + 0x006c => {0x0000006c} "int *") 
# | check:25'0                                                            X~~~~~~~~~ error: no match found
# |            37:  
# | check:25'0     ~
# |            38: 0x0000005f: DW_TAG_variable [3] (0x0000002f) 
# | check:25'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            39:  DW_AT_const_value [DW_FORM_udata] (0) 
# | check:25'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            40:  DW_AT_name [DW_FORM_strp] ( .debug_str[0x0000004f] = "FuncVar4") 
# | check:25'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:25'1      ?                                                                 possible intended match
# |            41:  DW_AT_decl_file [DW_FORM_data1] ("/some/random/directory\pointer-address-space.ll") 
# | check:25'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            42:  DW_AT_decl_line [DW_FORM_data1] (6) 
# | check:25'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            43:  DW_AT_type [DW_FORM_ref4] (cu + 0x006c => {0x0000006c} "int *") 
# | check:25'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            44:  
# | check:25'0     ~
# |            45: 0x0000006b: NULL 
# | check:25'0     ~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.DebugInfo/AMDGPU/variable-locations.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -O0 -mtriple=amdgcn-amd-amdhsa -mcpu=fiji -verify-machineinstrs -filetype=obj < C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\AMDGPU\variable-locations.ll | c:\_work\llvm-project\llvm-project\build\bin\llvm-dwarfdump.exe -v -debug-info - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\AMDGPU\variable-locations.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -O0 -mtriple=amdgcn-amd-amdhsa -mcpu=fiji -verify-machineinstrs -filetype=obj
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-dwarfdump.exe' -v -debug-info -
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\AMDGPU\variable-locations.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\AMDGPU\variable-locations.ll:39:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: DW_AT_location [DW_FORM_block1] (DW_OP_fbreg +0, DW_OP_lit1, DW_OP_swap, DW_OP_xderef)
# |               ^
# | <stdin>:46:36: note: scanning from here
# | 0x0000007b: DW_TAG_formal_parameter [5] (0x00000062)
# |                                    ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\AMDGPU\variable-locations.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |          .
# |          .
# |          .
# |         41:  DW_AT_decl_file [DW_FORM_data1] ("/some/random/directory\variable-locations.cl") 
# |         42:  DW_AT_decl_line [DW_FORM_data1] (4) 
# |         43:  DW_AT_prototyped [DW_FORM_flag] (0x01) 
# |         44:  DW_AT_external [DW_FORM_flag] (0x01) 
# |         45:  
# |         46: 0x0000007b: DW_TAG_formal_parameter [5] (0x00000062) 
# | next:39                                        X~~~~~~~~~~~~~~~~~ error: no match found
# |         47:  DW_AT_name [DW_FORM_strp] ( .debug_str[0x0000005e] = "ArgA") 
# | next:39     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         48:  DW_AT_decl_file [DW_FORM_data1] ("/some/random/directory\variable-locations.cl") 
# | next:39     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         49:  DW_AT_decl_line [DW_FORM_data1] (4) 
# | next:39     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         50:  DW_AT_type [DW_FORM_ref4] (cu + 0x0092 => {0x00000092} "int *") 
# | next:39     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         51:  
# | next:39     ~
# |          .
# |          .
# |          .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.tools/llvm-objdump/ELF/AMDGPU/source-lines.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
sed -e "s,SRC_COMPDIR,C:/_work/llvm-project/llvm-project/llvm/test/tools/llvm-objdump/ELF/AMDGPU/Inputs,g" C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-objdump\ELF\AMDGPU\source-lines.ll > C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\ELF\AMDGPU\Output\source-lines.ll.tmp.ll
# executed command: sed -e s,SRC_COMPDIR,C:/_work/llvm-project/llvm-project/llvm/test/tools/llvm-objdump/ELF/AMDGPU/Inputs,g 'C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-objdump\ELF\AMDGPU\source-lines.ll'
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-amd-amdhsa -mcpu=gfx802 -filetype=obj -O0 -o C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\ELF\AMDGPU\Output\source-lines.ll.tmp.o C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\ELF\AMDGPU\Output\source-lines.ll.tmp.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-amd-amdhsa -mcpu=gfx802 -filetype=obj -O0 -o 'C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\ELF\AMDGPU\Output\source-lines.ll.tmp.o' 'C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\ELF\AMDGPU\Output\source-lines.ll.tmp.ll'
# note: command had no output on stdout or stderr
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\llvm-objdump.exe --triple=amdgcn-amd-amdhsa --mcpu=gfx802 -d -l C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\ELF\AMDGPU\Output\source-lines.ll.tmp.o | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --check-prefix=LINE C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\ELF\AMDGPU\Output\source-lines.ll.tmp.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-objdump.exe' --triple=amdgcn-amd-amdhsa --mcpu=gfx802 -d -l 'C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\ELF\AMDGPU\Output\source-lines.ll.tmp.o'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --check-prefix=LINE 'C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\ELF\AMDGPU\Output\source-lines.ll.tmp.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\ELF\AMDGPU\Output\source-lines.ll.tmp.ll:8:14: error: LINE-NEXT: expected string not found in input
# | ; LINE-NEXT: ; source_lines_test():
# |              ^
# | <stdin>:6:38: note: scanning from here
# | 0000000000000000 <source_lines_test>:
# |                                      ^
# | <stdin>:7:1: note: possible intended match here
# | ; source_lines_test.kd():
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\ELF\AMDGPU\Output\source-lines.ll.tmp.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           1:  
# |           2: C:\_work\llvm-project\llvm-project\build\test\tools\llvm-objdump\ELF\AMDGPU\Output\source-lines.ll.tmp.o: file format elf64-amdgpu 
# |           3:  
# |           4: Disassembly of section .text: 
# |           5:  
# |           6: 0000000000000000 <source_lines_test>: 
# | next:8'0                                          X error: no match found
# |           7: ; source_lines_test.kd(): 
# | next:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:8'1     ?                          possible intended match
# |           8: ; C:/_work/llvm-project/llvm-project/llvm/test/tools/llvm-objdump/ELF/AMDGPU/Inputs\source-lines.cl:1 
# | next:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           9:  s_mov_b32 s33, 0 // 000000000000: BEA10080 
# | next:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          10:  s_mov_b32 flat_scratch_lo, s13 // 000000000004: BEE6000D 
# | next:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          11:  s_add_i32 s12, s12, s17 // 000000000008: 810C110C 
# | next:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          12:  s_lshr_b32 flat_scratch_hi, s12, 8 // 00000000000C: 8F67880C 
# | next:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           .
# |           .
# |           .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the infrastructure label.

@github-actions
Copy link

github-actions bot commented Dec 23, 2025

🐧 Linux x64 Test Results

  • 167404 tests passed
  • 2969 tests skipped
  • 29 tests failed

Failed Tests

(click on a test name to see its output)

LLVM

LLVM.CodeGen/AMDGPU/GlobalISel/flat-scratch.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -global-isel -new-reg-bank-select -mattr=-promote-alloca -mattr=+enable-flat-scratch < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GFX9 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -global-isel -new-reg-bank-select -mattr=-promote-alloca -mattr=+enable-flat-scratch
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GFX9 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch.ll:643:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: s_addk_i32 s1, 0x100
# |              ^
# | <stdin>:281:22: note: scanning from here
# |  v_mov_b32_e32 v0, 15
# |                      ^
# | <stdin>:282:2: note: possible intended match here
# |  s_add_i32 s1, s1, 4
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch.ll:849:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: v_add_u32_e32 v1, 0x100, v1
# |              ^
# | <stdin>:382:25: note: scanning from here
# |  v_sub_u32_e32 v0, 0, v0
# |                         ^
# | <stdin>:383:2: note: possible intended match here
# |  v_add_u32_e32 v1, 4, v1
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch.ll:1082:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: v_add_u32_e32 v1, 0x100, v1
# |              ^
# | <stdin>:482:29: note: scanning from here
# |  v_lshlrev_b32_e32 v0, 2, v0
# |                             ^
# | <stdin>:483:2: note: possible intended match here
# |  v_add_u32_e32 v1, 4, v1
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch.ll:1274:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: scratch_load_dword v0, off, s1 offset:4 glc
# |              ^
# | <stdin>:521:17: note: scanning from here
# |  s_mov_b32 s1, 0
# |                 ^
# | <stdin>:522:2: note: possible intended match here
# |  scratch_load_dword v0, off, s1 glc
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch.ll:1479:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: scratch_load_dword v1, off, s1 offset:4 glc
# |              ^
# | <stdin>:621:17: note: scanning from here
# |  s_mov_b32 s1, 0
# |                 ^
# | <stdin>:622:2: note: possible intended match here
# |  scratch_load_dword v1, off, s1 glc
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch.ll:1716:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: scratch_load_dword v1, off, s32 offset:4 glc
# |              ^
# | <stdin>:721:41: note: scanning from here
# |  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# |                                         ^
# | <stdin>:722:2: note: possible intended match here
# |  scratch_load_dword v1, off, s32 glc
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch.ll:1918:14: error: GFX9-NEXT: is not on the line after the previous match
# | ; GFX9-NEXT: scratch_store_dword off, v0, s0 offset:4
# |              ^
# | <stdin>:770:2: note: 'next' match was here
# |  scratch_store_dword off, v0, s0 offset:4
# |  ^
# | <stdin>:766:17: note: previous match ended here
# |  s_mov_b32 s0, 0
# |                 ^
# | <stdin>:767:1: note: non-matching line after previous match is here
# |  scratch_store_dword off, v0, s0
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch.ll:2074:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: s_movk_i32 s0, 0x3e80
# |              ^
# | <stdin>:858:41: note: scanning from here
# |  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# |                                         ^
# | <stdin>:859:2: note: possible intended match here
# |  v_mov_b32_e32 v0, 13
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            276:  s_mov_b32 s1, 0 
# |            277:  scratch_load_dword v0, off, s1 glc 
# |            278:  s_waitcnt vmcnt(0) lgkmcnt(0) 
# |            279:  s_lshl_b32 s1, s0, 2 
# |            280:  s_and_b32 s0, s0, 15 
# |            281:  v_mov_b32_e32 v0, 15 
# | next:643'0                           X error: no match found
# |            282:  s_add_i32 s1, s1, 4 
# | next:643'0      ~~~~~~~~~~~~~~~~~~~~~
# | next:643'1       ?                    possible intended match
# |            283:  s_lshl_b32 s0, s0, 2 
# | next:643'0      ~~~~~~~~~~~~~~~~~~~~~~
# |            284:  scratch_store_dword off, v0, s1 
# | next:643'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            285:  s_waitcnt vmcnt(0) 
# | next:643'0      ~~~~~~~~~~~~~~~~~~~~
# |            286:  s_add_i32 s0, s0, 4 
# | next:643'0      ~~~~~~~~~~~~~~~~~~~~~
# |            287:  scratch_load_dword v0, off, s0 glc 
# | next:643'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            377:  scratch_load_dword v1, off, s1 glc 
# |            378:  s_waitcnt vmcnt(0) 
# |            379:  v_lshlrev_b32_e32 v1, 2, v0 
# |            380:  s_waitcnt lgkmcnt(0) 
# |            381:  s_lshl_b32 s0, s0, 7 
# |            382:  v_sub_u32_e32 v0, 0, v0 
# | next:849'0                              X error: no match found
# |            383:  v_add_u32_e32 v1, 4, v1 
# | next:849'0      ~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:849'1       ?                        possible intended match
# |            384:  s_add_u32 s0, 4, s0 
# | next:849'0      ~~~~~~~~~~~~~~~~~~~~~
# |            385:  v_mov_b32_e32 v2, 15 
# | next:849'0      ~~~~~~~~~~~~~~~~~~~~~~
# |            386:  v_lshlrev_b32_e32 v0, 2, v0 
# | next:849'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            387:  scratch_store_dword v1, v2, off offset:128 
# | next:849'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            388:  s_waitcnt vmcnt(0) 
# | next:849'0      ~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            477:  scratch_load_dword v1, off, s32 glc 
# |            478:  s_waitcnt vmcnt(0) 
# |            479:  v_lshlrev_b32_e32 v1, 2, v0 
# |            480:  v_and_b32_e32 v0, 15, v0 
# |            481:  v_add_u32_e32 v1, s32, v1 
# |            482:  v_lshlrev_b32_e32 v0, 2, v0 
# | next:1082'0                                 X error: no match found
# |            483:  v_add_u32_e32 v1, 4, v1 
# | next:1082'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1082'1      ?                        possible intended match
# |            484:  v_mov_b32_e32 v2, 15 
# | next:1082'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            485:  v_add_u32_e32 v0, s32, v0 
# | next:1082'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            486:  scratch_store_dword v1, v2, off 
# | next:1082'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            487:  s_waitcnt vmcnt(0) 
# | next:1082'0     ~~~~~~~~~~~~~~~~~~~~
# |            488:  v_add_u32_e32 v0, 4, v0 
# | next:1082'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            516: store_load_sindex_large_offset_kernel: ; @store_load_sindex_large_offset_kernel 
# | next:1082'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            517: ; %bb.0: ; %bb 
# |            518:  s_load_dword s0, s[4:5], 0x0 
# |            519:  s_add_u32 flat_scratch_lo, s8, s13 
# |            520:  s_addc_u32 flat_scratch_hi, s9, 0 
# |            521:  s_mov_b32 s1, 0 
# | next:1274'0                     X error: no match found
# |            522:  scratch_load_dword v0, off, s1 glc 
# | next:1274'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1274'1      ?                                   possible intended match
# |            523:  s_waitcnt vmcnt(0) lgkmcnt(0) 
# | next:1274'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            524:  s_lshl_b32 s1, s0, 2 
# | next:1274'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            525:  s_and_b32 s0, s0, 15 
# | next:1274'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            526:  v_mov_b32_e32 v0, 15 
# | next:1274'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            527:  s_add_i32 s1, s1, 4 
# | next:1274'0     ~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            616: store_load_vindex_large_offset_kernel: ; @store_load_vindex_large_offset_kernel 
# | next:1274'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            617: ; %bb.0: ; %bb 
# |            618:  s_load_dword s0, s[4:5], 0x0 
# |            619:  s_add_u32 flat_scratch_lo, s8, s13 
# |            620:  s_addc_u32 flat_scratch_hi, s9, 0 
# |            621:  s_mov_b32 s1, 0 
# | next:1479'0                     X error: no match found
# |            622:  scratch_load_dword v1, off, s1 glc 
# | next:1479'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1479'1      ?                                   possible intended match
# |            623:  s_waitcnt vmcnt(0) 
# | next:1479'0     ~~~~~~~~~~~~~~~~~~~~
# |            624:  v_lshlrev_b32_e32 v1, 2, v0 
# | next:1479'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            625:  s_waitcnt lgkmcnt(0) 
# | next:1479'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            626:  s_lshl_b32 s0, s0, 7 
# | next:1479'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            627:  v_sub_u32_e32 v0, 0, v0 
# | next:1479'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            716:  .globl store_load_vindex_large_offset_foo ; -- Begin function store_load_vindex_large_offset_foo 
# | next:1479'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            717:  .p2align 2 
# | next:1479'0     ~~~~~~~~~~~~
# |            718:  .type store_load_vindex_large_offset_foo,@function 
# | next:1479'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            719: store_load_vindex_large_offset_foo: ; @store_load_vindex_large_offset_foo 
# | next:1479'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            720: ; %bb.0: ; %bb 
# |            721:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# | next:1716'0                                             X error: no match found
# |            722:  scratch_load_dword v1, off, s32 glc 
# | next:1716'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1716'1      ?                                    possible intended match
# |            723:  s_waitcnt vmcnt(0) 
# | next:1716'0     ~~~~~~~~~~~~~~~~~~~~
# |            724:  v_lshlrev_b32_e32 v1, 2, v0 
# | next:1716'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            725:  v_and_b32_e32 v0, 15, v0 
# | next:1716'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            726:  v_add_u32_e32 v1, s32, v1 
# | next:1716'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            727:  v_lshlrev_b32_e32 v0, 2, v0 
# | next:1716'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            765:  v_mov_b32_e32 v0, 13 
# |            766:  s_mov_b32 s0, 0 
# |            767:  scratch_store_dword off, v0, s0 
# |            768:  s_waitcnt vmcnt(0) 
# |            769:  v_mov_b32_e32 v0, 15 
# |            770:  scratch_store_dword off, v0, s0 offset:4 
# | next:1918        !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |            771:  s_waitcnt vmcnt(0) 
# |            772:  scratch_load_dword v0, off, s0 offset:4 glc 
# |            773:  s_waitcnt vmcnt(0) 
# |            774:  s_endpgm 
# |            775:  .section .rodata,"a",@progbits 
# |              .
# |              .
# |              .
# |            853:  .globl store_load_large_imm_offset_foo ; -- Begin function store_load_large_imm_offset_foo 
# |            854:  .p2align 2 
# |            855:  .type store_load_large_imm_offset_foo,@function 
# |            856: store_load_large_imm_offset_foo: ; @store_load_large_imm_offset_foo 
# |            857: ; %bb.0: ; %bb 
# |            858:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# | next:2074'0                                             X error: no match found
# |            859:  v_mov_b32_e32 v0, 13 
# | next:2074'0     ~~~~~~~~~~~~~~~~~~~~~~
# | next:2074'1      ?                     possible intended match
# |            860:  scratch_store_dword off, v0, s32 
# | next:2074'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            861:  s_waitcnt vmcnt(0) 
# | next:2074'0     ~~~~~~~~~~~~~~~~~~~~
# |            862:  v_mov_b32_e32 v0, 15 
# | next:2074'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            863:  scratch_store_dword off, v0, s32 offset:4 
# | next:2074'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            864:  s_waitcnt vmcnt(0) 
# | next:2074'0     ~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/GlobalISel/insertelement.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel -mtriple=amdgcn-mesa-mesa3d -mcpu=gfx900 -verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GPRIDX /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel -mtriple=amdgcn-mesa-mesa3d -mcpu=gfx900 -verify-machineinstrs
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GPRIDX /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.ll:13:16: error: GPRIDX-NEXT: expected string not found in input
# | ; GPRIDX-NEXT: s_cmp_eq_u32 s11, 0
# |                ^
# | <stdin>:21:18: note: scanning from here
# | ; %bb.0: ; %entry
# |                  ^
# | <stdin>:26:31: note: possible intended match here
# |  .set dyn_insertelement_v8i32_s_s_s.num_vgpr, 0
# |                               ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/insertelement.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |           16:  .text 
# |           17:  .globl dyn_insertelement_v8i32_s_s_s ; -- Begin function dyn_insertelement_v8i32_s_s_s 
# |           18:  .p2align 8 
# |           19:  .type dyn_insertelement_v8i32_s_s_s,@function 
# |           20: dyn_insertelement_v8i32_s_s_s: ; @dyn_insertelement_v8i32_s_s_s 
# |           21: ; %bb.0: ; %entry 
# | next:13'0                      X error: no match found
# |           22:  ; return to shader part epilog 
# | next:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           23: .Lfunc_end0: 
# | next:13'0     ~~~~~~~~~~~~~
# |           24:  .size dyn_insertelement_v8i32_s_s_s, .Lfunc_end0-dyn_insertelement_v8i32_s_s_s 
# | next:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           25:  ; -- End function 
# | next:13'0     ~~~~~~~~~~~~~~~~~~~
# |           26:  .set dyn_insertelement_v8i32_s_s_s.num_vgpr, 0 
# | next:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:13'1                                   ?                  possible intended match
# |           27:  .set dyn_insertelement_v8i32_s_s_s.num_agpr, 0 
# | next:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           28:  .set dyn_insertelement_v8i32_s_s_s.numbered_sgpr, 8 
# | next:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           29:  .set dyn_insertelement_v8i32_s_s_s.num_named_barrier, 0 
# | next:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           30:  .set dyn_insertelement_v8i32_s_s_s.private_seg_size, 0 
# | next:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           31:  .set dyn_insertelement_v8i32_s_s_s.uses_vcc, 0 
# | next:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/GlobalISel/irtranslator-sibling-call.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel -stop-after=irtranslator -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-sibling-call.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefix=GCN /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-sibling-call.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel -stop-after=irtranslator -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefix=GCN /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-sibling-call.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-sibling-call.ll:28:14: error: GCN-NEXT: expected string not found in input
# |  ; GCN-NEXT: [[C1:%[0-9]+]]:_(s32) = G_CONSTANT i32 20
# |              ^
# | <stdin>:492:42: note: scanning from here
# |  %2:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0
# |                                          ^
# | <stdin>:494:2: note: possible intended match here
# |  %4:_(s32) = G_ADD %0, %1
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-sibling-call.ll:70:14: error: GCN-NEXT: expected string not found in input
# |  ; GCN-NEXT: [[C1:%[0-9]+]]:_(s32) = G_CONSTANT i32 20
# |              ^
# | <stdin>:745:42: note: scanning from here
# |  %3:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0
# |                                          ^
# | <stdin>:747:4: note: possible intended match here
# |  %6:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @i32_fastcc_i32_i32
# |    ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-sibling-call.ll:97:14: error: GCN-NEXT: expected string not found in input
# |  ; GCN-NEXT: [[C1:%[0-9]+]]:_(s32) = G_CONSTANT i32 20
# |              ^
# | <stdin>:877:42: note: scanning from here
# |  %3:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0
# |                                          ^
# | <stdin>:879:4: note: possible intended match here
# |  %6:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @i32_fastcc_i32_i32_stack_object
# |    ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-sibling-call.ll:453:14: error: GCN-NEXT: expected string not found in input
# |  ; GCN-NEXT: [[C1:%[0-9]+]]:_(s32) = G_CONSTANT i32 20
# |              ^
# | <stdin>:2302:43: note: scanning from here
# |  %37:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0
# |                                           ^
# | <stdin>:2304:5: note: possible intended match here
# |  %40:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @i32_fastcc_i32_i32_a32i32
# |     ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-sibling-call.ll:648:14: error: GCN-NEXT: expected string not found in input
# |  ; GCN-NEXT: [[C1:%[0-9]+]]:_(s32) = G_CONSTANT i32 20
# |              ^
# | <stdin>:2876:43: note: scanning from here
# |  %37:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0
# |                                           ^
# | <stdin>:2878:5: note: possible intended match here
# |  %40:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @i32_fastcc_i32_i32_a32i32
# |     ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-sibling-call.ll:753:14: error: GCN-NEXT: expected string not found in input
# |  ; GCN-NEXT: [[C2:%[0-9]+]]:_(s32) = G_CONSTANT i32 20
# |              ^
# | <stdin>:3172:43: note: scanning from here
# |  %45:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0
# |                                           ^
# | <stdin>:3174:5: note: possible intended match here
# |  %49:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @i32_fastcc_i32_i32_a32i32
# |     ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-sibling-call.ll:924:14: error: GCN-NEXT: expected string not found in input
# |  ; GCN-NEXT: G_STORE [[C]](s32), [[FRAME_INDEX34]](p5) :: (store (s32) into %ir.alloca0, addrspace 5)
# |              ^
# | <stdin>:3726:45: note: scanning from here
# |  %100:_(p5) = G_FRAME_INDEX %stack.1.alloca1
# |                                             ^
# | <stdin>:3726:45: note: with "C" equal to "%101"
# |  %100:_(p5) = G_FRAME_INDEX %stack.1.alloca1
# |                                             ^
# | <stdin>:3726:45: note: with "FRAME_INDEX34" equal to "%99"
# |  %100:_(p5) = G_FRAME_INDEX %stack.1.alloca1
# |                                             ^
# | <stdin>:3733:2: note: possible intended match here
# |  G_STORE %101(s32), %105(p5) :: (store (s32) into %ir..fca.2.gep, addrspace 5)
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-sibling-call.ll:1091:14: error: GCN-NEXT: expected string not found in input
# |  ; GCN-NEXT: G_STORE [[C]](s32), [[FRAME_INDEX34]](p5) :: (store (s32) into %ir.alloca, addrspace 5)
# |              ^
# | <stdin>:4275:43: note: scanning from here
# |  %99:_(p5) = G_FRAME_INDEX %stack.0.alloca
# |                                           ^
# | <stdin>:4275:43: note: with "C" equal to "%100"
# |  %99:_(p5) = G_FRAME_INDEX %stack.0.alloca
# |                                           ^
# | <stdin>:4275:43: note: with "FRAME_INDEX34" equal to "%99"
# |  %99:_(p5) = G_FRAME_INDEX %stack.0.alloca
# |                                           ^
# | <stdin>:4276:2: note: possible intended match here
# |  G_STORE %100(s32), %99(p5) :: (store (s32) into %ir..fca.0.gep1, addrspace 5)
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-sibling-call.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            487:  liveins: $vgpr0, $vgpr1 
# |            488:   
# |            489:  %0:_(s32) = COPY $vgpr0 
# |            490:  %1:_(s32) = COPY $vgpr1 
# |            491:  %3:_(s32) = G_CONSTANT i32 9 
# |            492:  %2:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0 
# | next:28'0                                                X~~~~~~~ error: no match found
# |            493:  G_STORE %3(s32), %2(p5) :: (volatile store (s32) into %ir.alloca.sroa.0, addrspace 5) 
# | next:28'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            494:  %4:_(s32) = G_ADD %0, %1 
# | next:28'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:28'1        ?                         possible intended match
# |            495:  $vgpr0 = COPY %4(s32) 
# | next:28'0       ~~~~~~~~~~~~~~~~~~~~~~~
# |            496:  SI_RETURN implicit $vgpr0 
# | next:28'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            497: ... 
# | next:28'0       ~~~~
# |            498: --- 
# | next:28'0       ~~~~
# |            499: name: sibling_call_i32_fastcc_i32_i32 
# | next:28'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            740:   
# |            741:  %0:_(s32) = COPY $vgpr0 
# |            742:  %1:_(s32) = COPY $vgpr1 
# |            743:  %2:_(s32) = COPY $vgpr2 
# |            744:  %4:_(s32) = G_CONSTANT i32 9 
# |            745:  %3:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0 
# | next:70'0                                                X~~~~~~~ error: no match found
# |            746:  G_STORE %4(s32), %3(p5) :: (volatile store (s32) into %ir.alloca.sroa.0, addrspace 5) 
# | next:70'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            747:  %6:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @i32_fastcc_i32_i32 
# | next:70'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:70'1          ?                                                      possible intended match
# |            748:  $vgpr0 = COPY %0(s32) 
# | next:70'0       ~~~~~~~~~~~~~~~~~~~~~~~
# |            749:  $vgpr1 = COPY %1(s32) 
# | next:70'0       ~~~~~~~~~~~~~~~~~~~~~~~
# |            750:  %7:_(<4 x s32>) = COPY $sgpr0_sgpr1_sgpr2_sgpr3 
# | next:70'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            751:  $sgpr0_sgpr1_sgpr2_sgpr3 = COPY %7(<4 x s32>) 
# | next:70'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            752:  SI_TCRETURN %6(p0), @i32_fastcc_i32_i32, 0, csr_amdgpu, implicit $vgpr0, implicit $vgpr1, implicit $sgpr0_sgpr1_sgpr2_sgpr3 
# | next:70'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            872:   
# |            873:  %0:_(s32) = COPY $vgpr0 
# |            874:  %1:_(s32) = COPY $vgpr1 
# |            875:  %2:_(s32) = COPY $vgpr2 
# |            876:  %4:_(s32) = G_CONSTANT i32 9 
# |            877:  %3:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0 
# | next:97'0                                                X~~~~~~~ error: no match found
# |            878:  G_STORE %4(s32), %3(p5) :: (volatile store (s32) into %ir.alloca.sroa.0, addrspace 5) 
# | next:97'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            879:  %6:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @i32_fastcc_i32_i32_stack_object 
# | next:97'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:97'1          ?                                                                   possible intended match
# |            880:  $vgpr0 = COPY %0(s32) 
# | next:97'0       ~~~~~~~~~~~~~~~~~~~~~~~
# |            881:  $vgpr1 = COPY %1(s32) 
# | next:97'0       ~~~~~~~~~~~~~~~~~~~~~~~
# |            882:  %7:_(<4 x s32>) = COPY $sgpr0_sgpr1_sgpr2_sgpr3 
# | next:97'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            883:  $sgpr0_sgpr1_sgpr2_sgpr3 = COPY %7(<4 x s32>) 
# | next:97'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            884:  SI_TCRETURN %6(p0), @i32_fastcc_i32_i32_stack_object, 0, csr_amdgpu, implicit $vgpr0, implicit $vgpr1, implicit $sgpr0_sgpr1_sgpr2_sgpr3 
# | next:97'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           2297:  %35:_(p5) = G_FRAME_INDEX %fixed-stack.4 
# |           2298:  %32:_(s32) = G_LOAD %35(p5) :: (invariant load (s32) from %fixed-stack.4, addrspace 5) 
# |           2299:  %36:_(p5) = G_FRAME_INDEX %fixed-stack.3 
# |           2300:  %33:_(s32) = G_LOAD %36(p5) :: (invariant load (s32) from %fixed-stack.3, align 8, addrspace 5) 
# |           2301:  %38:_(s32) = G_CONSTANT i32 9 
# |           2302:  %37:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0 
# | next:453'0                                                X~~~~~~~ error: no match found
# |           2303:  G_STORE %38(s32), %37(p5) :: (volatile store (s32) into %ir.alloca.sroa.0, addrspace 5) 
# | next:453'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2304:  %40:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @i32_fastcc_i32_i32_a32i32 
# | next:453'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:453'1          ?                                                             possible intended match
# |           2305:  %41:_(p5) = G_FRAME_INDEX %fixed-stack.2 
# | next:453'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2306:  G_STORE %31(s32), %41(p5) :: (store (s32) into %fixed-stack.2, align 16, addrspace 5) 
# | next:453'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2307:  %42:_(p5) = G_FRAME_INDEX %fixed-stack.1 
# | next:453'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2308:  G_STORE %32(s32), %42(p5) :: (store (s32) into %fixed-stack.1, addrspace 5) 
# | next:453'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2309:  %43:_(p5) = G_FRAME_INDEX %fixed-stack.0 
# | next:453'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           2871:  %35:_(p5) = G_FRAME_INDEX %fixed-stack.4 
# |           2872:  %32:_(s32) = G_LOAD %35(p5) :: (invariant load (s32) from %fixed-stack.4, addrspace 5) 
# |           2873:  %36:_(p5) = G_FRAME_INDEX %fixed-stack.3 
# |           2874:  %33:_(s32) = G_LOAD %36(p5) :: (invariant load (s32) from %fixed-stack.3, align 8, addrspace 5) 
# |           2875:  %38:_(s32) = G_CONSTANT i32 9 
# |           2876:  %37:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0 
# | next:648'0                                                X~~~~~~~ error: no match found
# |           2877:  G_STORE %38(s32), %37(p5) :: (volatile store (s32) into %ir.alloca.sroa.0, addrspace 5) 
# | next:648'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2878:  %40:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @i32_fastcc_i32_i32_a32i32 
# | next:648'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:648'1          ?                                                             possible intended match
# |           2879:  %41:_(p5) = G_FRAME_INDEX %fixed-stack.2 
# | next:648'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2880:  G_STORE %31(s32), %41(p5) :: (store (s32) into %fixed-stack.2, align 16, addrspace 5) 
# | next:648'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2881:  %42:_(p5) = G_FRAME_INDEX %fixed-stack.1 
# | next:648'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2882:  G_STORE %32(s32), %42(p5) :: (store (s32) into %fixed-stack.1, addrspace 5) 
# | next:648'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2883:  %43:_(p5) = G_FRAME_INDEX %fixed-stack.0 
# | next:648'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           3167:  %36:_(s32) = G_LOAD %43(p5) :: (invariant load (s32) from %fixed-stack.4, addrspace 5) 
# |           3168:  %44:_(p5) = G_FRAME_INDEX %fixed-stack.3 
# |           3169:  %37:_(s32) = G_LOAD %44(p5) :: (invariant load (s32) from %fixed-stack.3, align 8, addrspace 5) 
# |           3170:  %46:_(s32) = G_CONSTANT i32 9 
# |           3171:  %48:_(s32) = G_CONSTANT i32 0 
# |           3172:  %45:_(p5) = G_FRAME_INDEX %stack.0.alloca.sroa.0 
# | next:753'0                                                X~~~~~~~ error: no match found
# |           3173:  G_STORE %46(s32), %45(p5) :: (volatile store (s32) into %ir.alloca.sroa.0, addrspace 5) 
# | next:753'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3174:  %49:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @i32_fastcc_i32_i32_a32i32 
# | next:753'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:753'1          ?                                                             possible intended match
# |           3175:  %50:_(p5) = G_FRAME_INDEX %fixed-stack.2 
# | next:753'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3176:  G_STORE %48(s32), %50(p5) :: (store (s32) into %fixed-stack.2, align 16, addrspace 5) 
# | next:753'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3177:  %51:_(p5) = G_FRAME_INDEX %fixed-stack.1 
# | next:753'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3178:  G_STORE %48(s32), %51(p5) :: (store (s32) into %fixed-stack.1, addrspace 5) 
# | next:753'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3179:  %52:_(p5) = G_FRAME_INDEX %fixed-stack.0 
# | next:753'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           3721:  %98:_(p5) = G_FRAME_INDEX %fixed-stack.2 
# |           3722:  %64:_(s32) = G_LOAD %98(p5) :: (invariant load (s32) from %fixed-stack.2, addrspace 5) 
# |           3723:  %101:_(s32) = G_CONSTANT i32 9 
# |           3724:  %106:_(s64) = G_CONSTANT i64 0 
# |           3725:  %99:_(p5) = G_FRAME_INDEX %stack.0.alloca0 
# |           3726:  %100:_(p5) = G_FRAME_INDEX %stack.1.alloca1 
# | next:924'0                                                  X error: no match found
# | next:924'1                                                    with "C" equal to "%101"
# | next:924'2                                                    with "FRAME_INDEX34" equal to "%99"
# |           3727:  G_STORE %101(s32), %99(p5) :: (store (s32) into %ir..fca.0.gep13, addrspace 5) 
# | next:924'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3728:  %102:_(s32) = G_CONSTANT i32 4 
# | next:924'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3729:  %103:_(p5) = nuw nusw inbounds G_PTR_ADD %99, %102(s32) 
# | next:924'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3730:  G_STORE %101(s32), %103(p5) :: (store (s32) into %ir..fca.1.gep2, addrspace 5) 
# | next:924'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3731:  %104:_(s32) = G_CONSTANT i32 8 
# | next:924'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3732:  %105:_(p5) = nuw nusw inbounds G_PTR_ADD %99, %104(s32) 
# | next:924'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3733:  G_STORE %101(s32), %105(p5) :: (store (s32) into %ir..fca.2.gep, addrspace 5) 
# | next:924'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:924'3       ?                                                                              possible intended match
# |           3734:  G_STORE %106(s64), %100(p5) :: (store (s64) into %ir..fca.0.gep4, addrspace 5) 
# | next:924'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3735:  %107:_(p5) = nuw nusw inbounds G_PTR_ADD %100, %104(s32) 
# | next:924'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3736:  G_STORE %106(s64), %107(p5) :: (store (s64) into %ir..fca.1.gep, addrspace 5) 
# | next:924'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3737:  %108:ccr_sgpr_64(p0) = G_GLOBAL_VALUE @void_fastcc_multi_byval 
# | next:924'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           3738:  %109:_(p4) = COPY %110(p4) 
# | next:924'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           4270:  %63:_(s32) = G_LOAD %97(p5) :: (invariant load (s32) from %fixed-stack.4, align 16, addrspace 5) 
# |           4271:  %98:_(p5) = G_FRAME_INDEX %fixed-stack.3 
# |           4272:  %64:_(s32) = G_LOAD %98(p5) :: (invariant load (s32) from %fixed-stack.3, addrspace 5) 
# |           4273:  %100:_(s32) = G_CONSTANT i32 9 
# |           4274:  %105:_(s32) = G_CONSTANT i32 0 
# |           4275:  %99:_(p5) = G_FRAME_INDEX %stack.0.alloca 
# | next:1091'0                                               X error: no match found
# | next:1091'1                                                 with "C" equal to "%100"
# | next:1091'2                                                 with "FRAME_INDEX34" equal to "%99"
# |           4276:  G_STORE %100(s32), %99(p5) :: (store (s32) into %ir..fca.0.gep1, addrspace 5) 
# | next:1091'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1091'3      ?                                                                              possible intended match
# |           4277:  %101:_(s32) = G_CONSTANT i32 4 
# | next:1091'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           4278:  %102:_(p5) = nuw nusw inbounds G_PTR_ADD %99, %101(s32) 
# | next:1091'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           4279:  G_STORE %100(s32), %102(p5) :: (store (s32) into %ir..fca.1.gep, addrspace 5) 
# | next:1091'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           4280:  %103:_(s32) = G_CONSTANT i32 8 
# | next:1091'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           4281:  %104:_(p5) = nuw nusw inbounds G_PTR_ADD %99, %103(s32) 
# | next:1091'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/captured-frame-index.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-- -mcpu=tahiti -mattr=-promote-alloca < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/captured-frame-index.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefix=GCN /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/captured-frame-index.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-- -mcpu=tahiti -mattr=-promote-alloca
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefix=GCN /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/captured-frame-index.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/captured-frame-index.ll:73:8: error: GCN: expected string not found in input
# | ; GCN: buffer_store_dword [[K1]], off, s{{\[[0-9]+:[0-9]+\]}}, 0 offset:2048{{$}}
# |        ^
# | <stdin>:297:25: note: scanning from here
# |  v_mov_b32_e32 v0, 0x4d2
# |                         ^
# | <stdin>:297:25: note: with "K1" equal to "v0"
# |  v_mov_b32_e32 v0, 0x4d2
# |                         ^
# | <stdin>:298:2: note: possible intended match here
# |  buffer_store_dword v0, off, s[12:15], 0 offset:4
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/captured-frame-index.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           292:  s_add_u32 s12, s12, s11 
# |           293:  s_addc_u32 s13, s13, 0 
# |           294:  v_mov_b32_e32 v0, 32 
# |           295:  buffer_store_dword v0, off, s[12:15], 0 
# |           296:  s_waitcnt vmcnt(0) expcnt(0) 
# |           297:  v_mov_b32_e32 v0, 0x4d2 
# | check:73'0                             X error: no match found
# | check:73'1                               with "K1" equal to "v0"
# |           298:  buffer_store_dword v0, off, s[12:15], 0 offset:4 
# | check:73'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:73'2      ?                                                 possible intended match
# |           299:  s_waitcnt vmcnt(0) expcnt(0) 
# | check:73'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           300:  v_mov_b32_e32 v0, 4 
# | check:73'0     ~~~~~~~~~~~~~~~~~~~~~
# |           301:  buffer_store_dword v0, off, s[12:15], 0 offset:4 
# | check:73'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           302:  s_waitcnt vmcnt(0) 
# | check:73'0     ~~~~~~~~~~~~~~~~~~~~
# |           303:  s_endpgm 
# | check:73'0     ~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/cgp-addressing-modes.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes='require<profile-summary>,function(codegenprepare)' -mtriple=amdgcn-unknown-unknown -mcpu=tahiti < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/cgp-addressing-modes.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=OPT -check-prefix=OPT-SI -check-prefix=OPT-SICIVI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/cgp-addressing-modes.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S '-passes=require<profile-summary>,function(codegenprepare)' -mtriple=amdgcn-unknown-unknown -mcpu=tahiti
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=OPT -check-prefix=OPT-SI -check-prefix=OPT-SICIVI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/cgp-addressing-modes.ll
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes='require<profile-summary>,function(codegenprepare)' -mtriple=amdgcn-unknown-unknown -mcpu=bonaire < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/cgp-addressing-modes.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=OPT -check-prefix=OPT-CI -check-prefix=OPT-SICIVI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/cgp-addressing-modes.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S '-passes=require<profile-summary>,function(codegenprepare)' -mtriple=amdgcn-unknown-unknown -mcpu=bonaire
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=OPT -check-prefix=OPT-CI -check-prefix=OPT-SICIVI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/cgp-addressing-modes.ll
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes='require<profile-summary>,function(codegenprepare)' -mtriple=amdgcn-unknown-unknown -mcpu=tonga -mattr=-flat-for-global < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/cgp-addressing-modes.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=OPT -check-prefix=OPT-VI -check-prefix=OPT-SICIVI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/cgp-addressing-modes.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S '-passes=require<profile-summary>,function(codegenprepare)' -mtriple=amdgcn-unknown-unknown -mcpu=tonga -mattr=-flat-for-global
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=OPT -check-prefix=OPT-VI -check-prefix=OPT-SICIVI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/cgp-addressing-modes.ll
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes='require<profile-summary>,function(codegenprepare)' -mtriple=amdgcn-unknown-unknown -mcpu=gfx900 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/cgp-addressing-modes.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=OPT -check-prefix=OPT-GFX9 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/cgp-addressing-modes.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S '-passes=require<profile-summary>,function(codegenprepare)' -mtriple=amdgcn-unknown-unknown -mcpu=gfx900
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=OPT -check-prefix=OPT-GFX9 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/cgp-addressing-modes.ll
# note: command had no output on stdout or stderr
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=tahiti -mattr=-promote-alloca -amdgpu-scalarize-global-loads=false < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/cgp-addressing-modes.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GCN -check-prefix=SI -check-prefix=SICIVI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/cgp-addressing-modes.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=tahiti -mattr=-promote-alloca -amdgpu-scalarize-global-loads=false
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GCN -check-prefix=SI -check-prefix=SICIVI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/cgp-addressing-modes.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/cgp-addressing-modes.ll:137:8: error: GCN: expected string not found in input
# | ; GCN: buffer_store_dword {{v[0-9]+}}, off, {{s\[[0-9]+:[0-9]+\]}}, 0 offset:4088{{$}}
# |        ^
# | <stdin>:323:20: note: scanning from here
# |  s_and_saveexec_b64 s[0:1], vcc
# |                    ^
# | <stdin>:330:2: note: possible intended match here
# |  buffer_store_dwordx2 v[0:1], off, s[0:3], s4
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/cgp-addressing-modes.ll:176:8: error: GCN: expected string not found in input
# | ; GCN: buffer_store_dword {{v[0-9]+}}, off, {{s\[[0-9]+:[0-9]+\]}}, 0 offset:4092{{$}}
# |        ^
# | <stdin>:388:20: note: scanning from here
# |  s_and_saveexec_b64 s[0:1], vcc
# |                    ^
# | <stdin>:395:2: note: possible intended match here
# |  buffer_store_dwordx2 v[0:1], off, s[0:3], s4
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/cgp-addressing-modes.ll:214:8: error: GCN: expected string not found in input
# | ; GCN: buffer_store_dword {{v[0-9]+}}, {{v[0-9]+}}, {{s\[[0-9]+:[0-9]+\]}}, 0 offen{{$}}
# |        ^
# | <stdin>:453:20: note: scanning from here
# |  s_and_saveexec_b64 s[0:1], vcc
# |                    ^
# | <stdin>:460:2: note: possible intended match here
# |  buffer_store_dwordx2 v[0:1], off, s[0:3], s4
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/cgp-addressing-modes.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            318: test_sink_scratch_small_offset_i32: ; @test_sink_scratch_small_offset_i32 
# |            319: ; %bb.0: ; %entry 
# |            320:  v_mbcnt_lo_u32_b32_e64 v0, -1, 0 
# |            321:  v_cmp_ne_u32_e32 vcc, 0, v0 
# |            322:  s_mov_b32 s2, -1 
# |            323:  s_and_saveexec_b64 s[0:1], vcc 
# | check:137'0                        X~~~~~~~~~~~~ error: no match found
# |            324:  s_or_b64 exec, exec, s[0:1] 
# | check:137'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            325:  s_load_dwordx2 s[0:1], s[4:5], 0x9 
# | check:137'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            326:  s_mov_b32 s3, 0xf000 
# | check:137'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            327:  s_mov_b32 s4, 0x3d08f8 
# | check:137'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |            328:  v_mov_b32_e32 v0, 0 
# | check:137'0     ~~~~~~~~~~~~~~~~~~~~~
# |            329:  s_waitcnt lgkmcnt(0) 
# | check:137'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            330:  buffer_store_dwordx2 v[0:1], off, s[0:3], s4 
# | check:137'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:137'1      ?                                             possible intended match
# |            331:  s_endpgm 
# | check:137'0     ~~~~~~~~~~
# |            332: .Lfunc_end4: 
# | check:137'0     ~~~~~~~~~~~~~
# |            333:  .size test_sink_scratch_small_offset_i32, .Lfunc_end4-test_sink_scratch_small_offset_i32 
# | check:137'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            334:  ; -- End function 
# | check:137'0     ~~~~~~~~~~~~~~~~~~~
# |            335:  .set test_sink_scratch_small_offset_i32.num_vgpr, 2 
# | check:137'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            383: test_sink_scratch_small_offset_i32_reserved: ; @test_sink_scratch_small_offset_i32_reserved 
# | check:137'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            384: ; %bb.0: ; %entry 
# |            385:  v_mbcnt_lo_u32_b32_e64 v0, -1, 0 
# |            386:  v_cmp_ne_u32_e32 vcc, 0, v0 
# |            387:  s_mov_b32 s2, -1 
# |            388:  s_and_saveexec_b64 s[0:1], vcc 
# | check:176'0                        X~~~~~~~~~~~~ error: no match found
# |            389:  s_or_b64 exec, exec, s[0:1] 
# | check:176'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            390:  s_load_dwordx2 s[0:1], s[4:5], 0x9 
# | check:176'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            391:  s_mov_b32 s3, 0xf000 
# | check:176'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            392:  s_mov_b32 s4, 0x3d08f8 
# | check:176'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |            393:  v_mov_b32_e32 v0, 0 
# | check:176'0     ~~~~~~~~~~~~~~~~~~~~~
# |            394:  s_waitcnt lgkmcnt(0) 
# | check:176'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            395:  buffer_store_dwordx2 v[0:1], off, s[0:3], s4 
# | check:176'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:176'1      ?                                             possible intended match
# |            396:  s_endpgm 
# | check:176'0     ~~~~~~~~~~
# |            397: .Lfunc_end5: 
# | check:176'0     ~~~~~~~~~~~~~
# |            398:  .size test_sink_scratch_small_offset_i32_reserved, .Lfunc_end5-test_sink_scratch_small_offset_i32_reserved 
# | check:176'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            399:  ; -- End function 
# | check:176'0     ~~~~~~~~~~~~~~~~~~~
# |            400:  .set test_sink_scratch_small_offset_i32_reserved.num_vgpr, 2 
# | check:176'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            448: test_no_sink_scratch_large_offset_i32: ; @test_no_sink_scratch_large_offset_i32 
# | check:176'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            449: ; %bb.0: ; %entry 
# |            450:  v_mbcnt_lo_u32_b32_e64 v0, -1, 0 
# |            451:  v_cmp_ne_u32_e32 vcc, 0, v0 
# |            452:  s_mov_b32 s2, -1 
# |            453:  s_and_saveexec_b64 s[0:1], vcc 
# | check:214'0                        X~~~~~~~~~~~~ error: no match found
# |            454:  s_or_b64 exec, exec, s[0:1] 
# | check:214'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            455:  s_load_dwordx2 s[0:1], s[4:5], 0x9 
# | check:214'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            456:  s_mov_b32 s3, 0xf000 
# | check:214'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            457:  s_mov_b32 s4, 0x3d08f8 
# | check:214'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |            458:  v_mov_b32_e32 v0, 0 
# | check:214'0     ~~~~~~~~~~~~~~~~~~~~~
# |            459:  s_waitcnt lgkmcnt(0) 
# | check:214'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            460:  buffer_store_dwordx2 v[0:1], off, s[0:3], s4 
# | check:214'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:214'1      ?                                             possible intended match
# |            461:  s_endpgm 
# | check:214'0     ~~~~~~~~~~
# |            462: .Lfunc_end6: 
# | check:214'0     ~~~~~~~~~~~~~
# |            463:  .size test_no_sink_scratch_large_offset_i32, .Lfunc_end6-test_no_sink_scratch_large_offset_i32 
# | check:214'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            464:  ; -- End function 
# | check:214'0     ~~~~~~~~~~~~~~~~~~~
# |            465:  .set test_no_sink_scratch_large_offset_i32.num_vgpr, 2 
# | check:214'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/extload-private.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mattr=-promote-alloca < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/extload-private.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=SI -check-prefix=FUNC /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/extload-private.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mattr=-promote-alloca
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=SI -check-prefix=FUNC /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/extload-private.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/extload-private.ll:5:7: error: SI: expected string not found in input
# | ; SI: buffer_load_sbyte v{{[0-9]+}}, off, s[{{[0-9]+:[0-9]+}}], 0{{$}}
# |       ^
# | <stdin>:16:22: note: scanning from here
# | load_i8_sext_private: ; @load_i8_sext_private
# |                      ^
# | <stdin>:23:2: note: possible intended match here
# |  buffer_store_dword v0, off, s[0:3], 0
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/extload-private.ll:16:7: error: SI: expected string not found in input
# | ; SI: buffer_load_ubyte v{{[0-9]+}}, off, s[{{[0-9]+:[0-9]+}}], 0{{$}}
# |       ^
# | <stdin>:76:22: note: scanning from here
# | load_i8_zext_private: ; @load_i8_zext_private
# |                      ^
# | <stdin>:83:2: note: possible intended match here
# |  buffer_store_dword v0, off, s[0:3], 0
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/extload-private.ll:27:7: error: SI: expected string not found in input
# | ; SI: buffer_load_sshort v{{[0-9]+}}, off, s[{{[0-9]+:[0-9]+}}], 0{{$}}
# |       ^
# | <stdin>:136:23: note: scanning from here
# | load_i16_sext_private: ; @load_i16_sext_private
# |                       ^
# | <stdin>:143:2: note: possible intended match here
# |  buffer_store_dword v0, off, s[0:3], 0
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/extload-private.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            11:  .long 0 
# |            12:  .text 
# |            13:  .globl load_i8_sext_private ; -- Begin function load_i8_sext_private 
# |            14:  .p2align 8 
# |            15:  .type load_i8_sext_private,@function 
# |            16: load_i8_sext_private: ; @load_i8_sext_private 
# | check:5'0                           X~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |            17: ; %bb.0: ; %entry 
# | check:5'0      ~~~~~~~~~~~~~~~~~~
# |            18:  s_load_dwordx2 s[0:1], s[4:5], 0x9 
# | check:5'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            19:  s_mov_b32 s3, 0xf000 
# | check:5'0      ~~~~~~~~~~~~~~~~~~~~~~
# |            20:  s_mov_b32 s2, -1 
# | check:5'0      ~~~~~~~~~~~~~~~~~~
# |            21:  v_mov_b32_e32 v0, 0 
# | check:5'0      ~~~~~~~~~~~~~~~~~~~~~
# |            22:  s_waitcnt lgkmcnt(0) 
# | check:5'0      ~~~~~~~~~~~~~~~~~~~~~~
# |            23:  buffer_store_dword v0, off, s[0:3], 0 
# | check:5'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:5'1       ?                                      possible intended match
# |            24:  s_endpgm 
# | check:5'0      ~~~~~~~~~~
# |            25: .Lfunc_end0: 
# | check:5'0      ~~~~~~~~~~~~~
# |            26:  .size load_i8_sext_private, .Lfunc_end0-load_i8_sext_private 
# | check:5'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            27:  ; -- End function 
# | check:5'0      ~~~~~~~~~~~~~~~~~~~
# |            28:  .set load_i8_sext_private.num_vgpr, 1 
# | check:5'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |            71:  .long 0 
# | check:5'0      ~~~~~~~~~
# |            72:  .text 
# | check:5'0      ~~~~~~~
# |            73:  .globl load_i8_zext_private ; -- Begin function load_i8_zext_private 
# | check:5'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            74:  .p2align 8 
# | check:5'0      ~~~~~~~~~~~~
# |            75:  .type load_i8_zext_private,@function 
# | check:5'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            76: load_i8_zext_private: ; @load_i8_zext_private 
# | check:5'0      ~~~~~~~~~~~~~~~~~~~~~
# | check:16'0                          X~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |            77: ; %bb.0: ; %entry 
# | check:16'0     ~~~~~~~~~~~~~~~~~~
# |            78:  s_load_dwordx2 s[0:1], s[4:5], 0x9 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            79:  s_mov_b32 s3, 0xf000 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            80:  s_mov_b32 s2, -1 
# | check:16'0     ~~~~~~~~~~~~~~~~~~
# |            81:  v_mov_b32_e32 v0, 0 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~
# |            82:  s_waitcnt lgkmcnt(0) 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            83:  buffer_store_dword v0, off, s[0:3], 0 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:16'1      ?                                      possible intended match
# |            84:  s_endpgm 
# | check:16'0     ~~~~~~~~~~
# |            85: .Lfunc_end1: 
# | check:16'0     ~~~~~~~~~~~~~
# |            86:  .size load_i8_zext_private, .Lfunc_end1-load_i8_zext_private 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            87:  ; -- End function 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~
# |            88:  .set load_i8_zext_private.num_vgpr, 1 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           131:  .long 0 
# | check:16'0     ~~~~~~~~~
# |           132:  .text 
# | check:16'0     ~~~~~~~
# |           133:  .globl load_i16_sext_private ; -- Begin function load_i16_sext_private 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           134:  .p2align 8 
# | check:16'0     ~~~~~~~~~~~~
# |           135:  .type load_i16_sext_private,@function 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           136: load_i16_sext_private: ; @load_i16_sext_private 
# | check:16'0     ~~~~~~~~~~~~~~~~~~~~~~
# | check:27'0                           X~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |           137: ; %bb.0: ; %entry 
# | check:27'0     ~~~~~~~~~~~~~~~~~~
# |           138:  s_load_dwordx2 s[0:1], s[4:5], 0x9 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           139:  s_mov_b32 s3, 0xf000 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           140:  s_mov_b32 s2, -1 
# | check:27'0     ~~~~~~~~~~~~~~~~~~
# |           141:  v_mov_b32_e32 v0, 0 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~~~
# |           142:  s_waitcnt lgkmcnt(0) 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           143:  buffer_store_dword v0, off, s[0:3], 0 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:27'1      ?                                      possible intended match
# |           144:  s_endpgm 
# | check:27'0     ~~~~~~~~~~
# |           145: .Lfunc_end2: 
# | check:27'0     ~~~~~~~~~~~~~
# |           146:  .size load_i16_sext_private, .Lfunc_end2-load_i16_sext_private 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           147:  ; -- End function 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~
# |           148:  .set load_i16_sext_private.num_vgpr, 1 
# | check:27'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/fix-sgpr-copies-nondeterminism.ll
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx1100 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fix-sgpr-copies-nondeterminism.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fix-sgpr-copies-nondeterminism.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx1100
# .---command stderr------------
# | PHI nodes not grouped at top of basic block!
# |   %i5 = phi i32 [ %arg1, PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | Stack dump:
# | 0.	Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx1100
# | 1.	Running pass 'CallGraph Pass Manager' on module '<stdin>'.
# | 2.	Running pass 'Module Verifier' on function '@f'
# |  #0 0x0000000007ffbf58 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:842:13
# |  #1 0x0000000007ff9665 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# |  #2 0x0000000007ffcd21 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:429:38
# |  #3 0x000077fc2cc6b330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# |  #4 0x00000000073e5ce3 getParent /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/GlobalValue.h:664:44
# |  #5 0x00000000073e5ce3 llvm::SlotTracker::SlotTracker(llvm::Function const*, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/AsmWriter.cpp:1062:24
# |  #6 0x00000000073fe5da createSlotTracker(llvm::Value const*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/AsmWriter.cpp:1046:1
# |  #7 0x00000000073fc141 writeAsOperandInternal(llvm::raw_ostream&, llvm::Value const*, (anonymous namespace)::AsmWriterContext&, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/AsmWriter.cpp:2781:13
# |  #8 0x00000000073f2a3c writeOperand /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/AsmWriter.cpp:0:3
# |  #9 0x00000000073f2a3c (anonymous namespace)::AssemblyWriter::printInstruction(llvm::Instruction const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/AsmWriter.cpp:4502:7
# | #10 0x00000000073f1057 llvm::Value::print(llvm::raw_ostream&, llvm::ModuleSlotTracker&, bool) const /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/AsmWriter.cpp:0:7
# | #11 0x000000000761ca68 Write /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/Verifier.cpp:0:0
# | #12 0x000000000761ca68 Write /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/Verifier.cpp:165:7
# | #13 0x000000000761ca68 void llvm::VerifierSupport::WriteTs<llvm::PHINode*, llvm::BasicBlock*>(llvm::PHINode* const&, llvm::BasicBlock* const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/Verifier.cpp:276:5
# | #14 0x0000000007605c19 visitLandingPadInst /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/Verifier.cpp:4829:5
# | #15 0x0000000007605c19 visitLandingPad /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/Instruction.def:220:1
# | #16 0x0000000007605c19 visit /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/Instruction.def:220:1
# | #17 0x0000000007605c19 visit /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/Verifier.cpp:718:26
# | #18 0x0000000007605c19 void llvm::InstVisitor<(anonymous namespace)::Verifier, void>::visit<llvm::ilist_iterator_w_bits<llvm::ilist_detail::node_options<llvm::Instruction, true, false, void, true, llvm::BasicBlock>, false, false>>(llvm::ilist_iterator_w_bits<llvm::ilist_detail::node_options<llvm::Instruction, true, false, void, true, llvm::BasicBlock>, false, false>, llvm::ilist_iterator_w_bits<llvm::ilist_detail::node_options<llvm::Instruction, true, false, void, true, llvm::BasicBlock>, false, false>) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/InstVisitor.h:89:37
# | #19 0x00000000075e6114 operator!= /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/ilist_iterator.h:178:24
# | #20 0x00000000075e6114 visit<llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::BasicBlock, true, false, void, false, void>, false, false> > /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/InstVisitor.h:88:18
# | #21 0x00000000075e6114 visit /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/IR/InstVisitor.h:100:5
# | #22 0x00000000075e6114 (anonymous namespace)::Verifier::verify(llvm::Function const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/Verifier.cpp:435:5
# | #23 0x000000000761f813 (anonymous namespace)::VerifierLegacyPass::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/Verifier.cpp:7762:23
# | #24 0x0000000007569075 llvm::FPPassManager::runOnFunction(llvm::Function&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1398:27
# | #25 0x0000000006a9f7f4 RunPassOnSCC /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:179:25
# | #26 0x0000000006a9f7f4 RunAllPassesOnSCC /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:468:9
# | #27 0x0000000006a9f7f4 (anonymous namespace)::CGPassManager::runOnModule(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Analysis/CallGraphSCCPass.cpp:533:18
# | #28 0x0000000007569b1c runOnModule /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1513:27
# | #29 0x0000000007569b1c llvm::legacy::PassManagerImpl::run(llvm::Module&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:531:44
# | #30 0x0000000004e8a12c compileModule(char**, llvm::SmallVectorImpl<llvm::PassPlugin>&, llvm::LLVMContext&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:874:17
# | #31 0x0000000004e876a3 main /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/tools/llc/llc.cpp:462:13
# | #32 0x000077fc2cc501ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #33 0x000077fc2cc5028b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #34 0x0000000004e82ea5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc+0x4e82ea5)
# `-----------------------------
# error: command failed with exit status: -11
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fix-sgpr-copies-nondeterminism.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fix-sgpr-copies-nondeterminism.ll
# `-----------------------------
# error: command failed with exit status: 2

--

LLVM.CodeGen/AMDGPU/flat-scratch-alloca-issue-155902.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx950 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/flat-scratch-alloca-issue-155902.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/flat-scratch-alloca-issue-155902.ll --check-prefix=GFX950
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx950
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/flat-scratch-alloca-issue-155902.ll --check-prefix=GFX950
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/flat-scratch-alloca-issue-155902.ll:8:16: error: GFX950-NEXT: expected string not found in input
# | ; GFX950-NEXT: s_mov_b32 s33, 0x4008
# |                ^
# | <stdin>:8:15: note: scanning from here
# | ; %bb.0: ; %bb
# |               ^
# | <stdin>:35:20: note: possible intended match here
# |  .amdhsa_float_round_mode_32 0
# |                    ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/flat-scratch-alloca-issue-155902.ll:237:16: error: GFX950-NEXT: expected string not found in input
# | ; GFX950-NEXT: s_add_i32 s1, s33, 0x4008
# |                ^
# | <stdin>:99:18: note: scanning from here
# |  s_mov_b32 s33, 0
# |                  ^
# | <stdin>:102:3: note: possible intended match here
# |  .p2align 6, 0x0
# |   ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/flat-scratch-alloca-issue-155902.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1:  .amdgcn_target "amdgcn-amd-amdhsa--gfx950" 
# |             2:  .amdhsa_code_object_version 6 
# |             3:  .text 
# |             4:  .globl issue155902 ; -- Begin function issue155902 
# |             5:  .p2align 8 
# |             6:  .type issue155902,@function 
# |             7: issue155902: ; @issue155902 
# |             8: ; %bb.0: ; %bb 
# | next:8'0                     X error: no match found
# |             9:  s_endpgm 
# | next:8'0       ~~~~~~~~~~
# |            10:  .section .rodata,"a",@progbits 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            11:  .p2align 6, 0x0 
# | next:8'0       ~~~~~~~~~~~~~~~~~
# |            12:  .amdhsa_kernel issue155902 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            13:  .amdhsa_group_segment_fixed_size 0 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |            30:  .amdhsa_system_vgpr_workitem_id 2 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            31:  .amdhsa_next_free_vgpr 1 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            32:  .amdhsa_next_free_sgpr 0 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            33:  .amdhsa_accum_offset 4 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~~~~
# |            34:  .amdhsa_reserve_vcc 0 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~~~
# |            35:  .amdhsa_float_round_mode_32 0 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:8'1                          ?            possible intended match
# |            36:  .amdhsa_float_round_mode_16_64 0 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            37:  .amdhsa_float_denorm_mode_32 3 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            38:  .amdhsa_float_denorm_mode_16_64 3 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            39:  .amdhsa_dx10_clamp 1 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~~
# |            40:  .amdhsa_ieee_mode 1 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |            94:  .globl issue155902_fp ; -- Begin function issue155902_fp 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            95:  .p2align 8 
# | next:8'0       ~~~~~~~~~~~~
# |            96:  .type issue155902_fp,@function 
# | next:8'0       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            97: issue155902_fp: ; @issue155902_fp 
# | next:8'0       ~~~~~~~~~~~~~~~
# |            98: ; %bb.0: ; %bb 
# |            99:  s_mov_b32 s33, 0 
# | next:237'0                      X error: no match found
# |           100:  s_endpgm 
# | next:237'0     ~~~~~~~~~~
# |           101:  .section .rodata,"a",@progbits 
# | next:237'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           102:  .p2align 6, 0x0 
# | next:237'0     ~~~~~~~~~~~~~~~~~
# | next:237'1       ?               possible intended match
# |           103:  .amdhsa_kernel issue155902_fp 
# | next:237'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           104:  .amdhsa_group_segment_fixed_size 0 
# | next:237'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           105:  .amdhsa_private_segment_fixed_size 0 
# | next:237'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           106:  .amdhsa_kernarg_size 656 
# | next:237'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           107:  .amdhsa_user_sgpr_count 8 
# | next:237'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/flat-scratch.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx900 -mattr=-promote-alloca -mattr=+enable-flat-scratch < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/flat-scratch.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=GFX9 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/flat-scratch.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx900 -mattr=-promote-alloca -mattr=+enable-flat-scratch
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=GFX9 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/flat-scratch.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/flat-scratch.ll:1090:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: scratch_store_dwordx4 off, v[0:3], s0 offset:256
# |              ^
# | <stdin>:440:22: note: scanning from here
# |  v_mov_b32_e32 v3, s3
# |                      ^
# | <stdin>:442:2: note: possible intended match here
# |  scratch_store_dwordx4 off, v[0:3], s0 offset:20
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/flat-scratch.ll:1306:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: scratch_store_dwordx4 off, v[0:3], s32 offset:256
# |              ^
# | <stdin>:509:22: note: scanning from here
# |  v_mov_b32_e32 v3, s3
# |                      ^
# | <stdin>:511:2: note: possible intended match here
# |  scratch_store_dwordx4 off, v[0:3], s32 offset:20
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/flat-scratch.ll:1494:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: s_addk_i32 s1, 0x100
# |              ^
# | <stdin>:561:22: note: scanning from here
# |  v_mov_b32_e32 v0, 15
# |                      ^
# | <stdin>:562:2: note: possible intended match here
# |  s_add_i32 s1, s1, 4
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/flat-scratch.ll:1716:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: s_addk_i32 s0, 0x100
# |              ^
# | <stdin>:632:22: note: scanning from here
# |  s_lshl_b32 s0, s2, 2
# |                      ^
# | <stdin>:633:2: note: possible intended match here
# |  s_add_i32 s0, s0, 4
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/flat-scratch.ll:1926:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: v_add_u32_e32 v1, 0x100, v0
# |              ^
# | <stdin>:704:22: note: scanning from here
# |  s_lshl_b32 s0, s0, 7
# |                      ^
# | <stdin>:705:2: note: possible intended match here
# |  v_add_u32_e32 v1, 4, v0
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/flat-scratch.ll:2149:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: s_add_i32 s1, s32, 0x100
# |              ^
# | <stdin>:767:41: note: scanning from here
# |  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# |                                         ^
# | <stdin>:768:2: note: possible intended match here
# |  s_add_i32 s1, s32, 4
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/flat-scratch.ll:2317:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: scratch_load_dword v0, off, s0 offset:4 glc
# |              ^
# | <stdin>:820:17: note: scanning from here
# |  s_mov_b32 s0, 0
# |                 ^
# | <stdin>:821:2: note: possible intended match here
# |  scratch_load_dword v0, off, s0 glc
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/flat-scratch.ll:2540:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: scratch_load_dword v0, off, s32 offset:4 glc
# |              ^
# | <stdin>:888:41: note: scanning from here
# |  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# |                                         ^
# | <stdin>:889:2: note: possible intended match here
# |  scratch_load_dword v0, off, s32 glc
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/flat-scratch.ll:2785:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: scratch_load_dword v0, off, s1 offset:4 glc
# |              ^
# | <stdin>:945:17: note: scanning from here
# |  s_mov_b32 s1, 0
# |                 ^
# | <stdin>:946:2: note: possible intended match here
# |  scratch_load_dword v0, off, s1 glc
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/flat-scratch.ll:3009:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: scratch_load_dword v0, off, s0 offset:4 glc
# |              ^
# | <stdin>:1018:17: note: scanning from here
# |  s_mov_b32 s0, 0
# |                 ^
# | <stdin>:1019:2: note: possible intended match here
# |  scratch_load_dword v0, off, s0 glc
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/flat-scratch.ll:3217:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: scratch_load_dword v1, off, s1 offset:4 glc
# |              ^
# | <stdin>:1088:17: note: scanning from here
# |  s_mov_b32 s1, 0
# |                 ^
# | <stdin>:1089:2: note: possible intended match here
# |  scratch_load_dword v1, off, s1 glc
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/flat-scratch.ll:3450:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: s_add_i32 s1, s32, 0x4004
# |              ^
# | <stdin>:1156:41: note: scanning from here
# |  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# |                                         ^
# | <stdin>:1157:2: note: possible intended match here
# |  s_add_i32 s1, s32, 4
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/flat-scratch.ll:3622:14: error: GFX9-NEXT: is not on the line after the previous match
# | ; GFX9-NEXT: scratch_store_dword off, v0, s0 offset:4
# |              ^
# | <stdin>:1214:2: note: 'next' match was here
# |  scratch_store_dword off, v0, s0 offset:4
# |  ^
# | <stdin>:1210:17: note: previous match ended here
# |  s_mov_b32 s0, 0
# |                 ^
# | <stdin>:1211:1: note: non-matching line after previous match is here
# |  scratch_store_dword off, v0, s0
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/flat-scratch.ll:3793:14: error: GFX9-NEXT: expected string not found in input
# | ; GFX9-NEXT: s_movk_i32 s0, 0x3000
# |              ^
# | <stdin>:1272:41: note: scanning from here
# |  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# |                                         ^
# | <stdin>:1273:2: note: possible intended match here
# |  v_mov_b32_e32 v0, 13
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/flat-scratch.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            435:  s_mov_b32 s2, s0 
# |            436:  s_mov_b32 s3, s0 
# |            437:  v_mov_b32_e32 v0, s0 
# |            438:  v_mov_b32_e32 v1, s1 
# |            439:  v_mov_b32_e32 v2, s2 
# |            440:  v_mov_b32_e32 v3, s3 
# | next:1090'0                          X error: no match found
# |            441:  scratch_store_dwordx4 off, v[0:3], s0 offset:4 
# | next:1090'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            442:  scratch_store_dwordx4 off, v[0:3], s0 offset:20 
# | next:1090'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1090'1      ?                                                possible intended match
# |            443:  scratch_store_dwordx4 off, v[0:3], s0 offset:36 
# | next:1090'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            444:  scratch_store_dwordx4 off, v[0:3], s0 offset:52 
# | next:1090'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            445:  s_endpgm 
# | next:1090'0     ~~~~~~~~~~
# |            446: .Lfunc_end7: 
# | next:1090'0     ~~~~~~~~~~~~~
# |            447:  .size zero_init_small_offset_kernel, .Lfunc_end7-zero_init_small_offset_kernel 
# | next:1090'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            504:  s_mov_b32 s2, s0 
# |            505:  s_mov_b32 s3, s0 
# |            506:  v_mov_b32_e32 v0, s0 
# |            507:  v_mov_b32_e32 v1, s1 
# |            508:  v_mov_b32_e32 v2, s2 
# |            509:  v_mov_b32_e32 v3, s3 
# | next:1306'0                          X error: no match found
# |            510:  scratch_store_dwordx4 off, v[0:3], s32 offset:4 
# | next:1306'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            511:  scratch_store_dwordx4 off, v[0:3], s32 offset:20 
# | next:1306'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1306'1      ?                                                 possible intended match
# |            512:  scratch_store_dwordx4 off, v[0:3], s32 offset:36 
# | next:1306'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            513:  scratch_store_dwordx4 off, v[0:3], s32 offset:52 
# | next:1306'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            514:  s_waitcnt vmcnt(0) 
# | next:1306'0     ~~~~~~~~~~~~~~~~~~~~
# |            515:  s_setpc_b64 s[30:31] 
# | next:1306'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            516: .Lfunc_end8: 
# | next:1306'0     ~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            556:  s_mov_b32 s1, 0 
# |            557:  scratch_load_dword v0, off, s1 glc 
# |            558:  s_waitcnt vmcnt(0) lgkmcnt(0) 
# |            559:  s_lshl_b32 s1, s0, 2 
# |            560:  s_and_b32 s0, s0, 15 
# |            561:  v_mov_b32_e32 v0, 15 
# | next:1494'0                          X error: no match found
# |            562:  s_add_i32 s1, s1, 4 
# | next:1494'0     ~~~~~~~~~~~~~~~~~~~~~
# | next:1494'1      ?                    possible intended match
# |            563:  s_lshl_b32 s0, s0, 2 
# | next:1494'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            564:  scratch_store_dword off, v0, s1 
# | next:1494'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            565:  s_waitcnt vmcnt(0) 
# | next:1494'0     ~~~~~~~~~~~~~~~~~~~~
# |            566:  s_add_i32 s0, s0, 4 
# | next:1494'0     ~~~~~~~~~~~~~~~~~~~~~
# |            567:  scratch_load_dword v0, off, s0 glc 
# | next:1494'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            627:  s_add_u32 flat_scratch_lo, s0, s3 
# |            628:  s_addc_u32 flat_scratch_hi, s1, 0 
# |            629:  s_mov_b32 s0, 0 
# |            630:  scratch_load_dword v0, off, s0 glc 
# |            631:  s_waitcnt vmcnt(0) 
# |            632:  s_lshl_b32 s0, s2, 2 
# | next:1716'0                          X error: no match found
# |            633:  s_add_i32 s0, s0, 4 
# | next:1716'0     ~~~~~~~~~~~~~~~~~~~~~
# | next:1716'1      ?                    possible intended match
# |            634:  v_mov_b32_e32 v0, 15 
# | next:1716'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            635:  scratch_store_dword off, v0, s0 
# | next:1716'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            636:  s_waitcnt vmcnt(0) 
# | next:1716'0     ~~~~~~~~~~~~~~~~~~~~
# |            637:  s_and_b32 s0, s2, 15 
# | next:1716'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            638:  s_lshl_b32 s0, s0, 2 
# | next:1716'0     ~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            699:  s_mov_b32 s1, 0 
# |            700:  scratch_load_dword v1, off, s1 glc 
# |            701:  s_waitcnt vmcnt(0) 
# |            702:  v_lshlrev_b32_e32 v0, 2, v0 
# |            703:  s_waitcnt lgkmcnt(0) 
# |            704:  s_lshl_b32 s0, s0, 7 
# | next:1926'0                          X error: no match found
# |            705:  v_add_u32_e32 v1, 4, v0 
# | next:1926'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1926'1      ?                        possible intended match
# |            706:  s_add_i32 s0, s0, 4 
# | next:1926'0     ~~~~~~~~~~~~~~~~~~~~~
# |            707:  v_mov_b32_e32 v2, 15 
# | next:1926'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            708:  scratch_store_dword v1, v2, off offset:128 
# | next:1926'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            709:  s_waitcnt vmcnt(0) 
# | next:1926'0     ~~~~~~~~~~~~~~~~~~~~
# |            710:  v_sub_u32_e32 v0, s0, v0 
# | next:1926'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            762:  .globl store_load_vindex_small_offset_foo ; -- Begin function store_load_vindex_small_offset_foo 
# | next:1926'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            763:  .p2align 2 
# | next:1926'0     ~~~~~~~~~~~~
# |            764:  .type store_load_vindex_small_offset_foo,@function 
# | next:1926'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            765: store_load_vindex_small_offset_foo: ; @store_load_vindex_small_offset_foo 
# | next:1926'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            766: ; %bb.0: ; %bb 
# |            767:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# | next:2149'0                                             X error: no match found
# |            768:  s_add_i32 s1, s32, 4 
# | next:2149'0     ~~~~~~~~~~~~~~~~~~~~~~
# | next:2149'1      ?                     possible intended match
# |            769:  scratch_load_dword v1, off, s32 glc 
# | next:2149'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            770:  s_waitcnt vmcnt(0) 
# | next:2149'0     ~~~~~~~~~~~~~~~~~~~~
# |            771:  s_mov_b32 s0, s1 
# | next:2149'0     ~~~~~~~~~~~~~~~~~~
# |            772:  v_lshl_add_u32 v1, v0, 2, s0 
# | next:2149'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            773:  v_mov_b32_e32 v2, 15 
# | next:2149'0     ~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            815:  .type zero_init_large_offset_kernel,@function 
# | next:2149'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            816: zero_init_large_offset_kernel: ; @zero_init_large_offset_kernel 
# | next:2149'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            817: ; %bb.0: 
# |            818:  s_add_u32 flat_scratch_lo, s8, s13 
# |            819:  s_addc_u32 flat_scratch_hi, s9, 0 
# |            820:  s_mov_b32 s0, 0 
# | next:2317'0                     X error: no match found
# |            821:  scratch_load_dword v0, off, s0 glc 
# | next:2317'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:2317'1      ?                                   possible intended match
# |            822:  s_waitcnt vmcnt(0) 
# | next:2317'0     ~~~~~~~~~~~~~~~~~~~~
# |            823:  s_mov_b32 s1, s0 
# | next:2317'0     ~~~~~~~~~~~~~~~~~~
# |            824:  s_mov_b32 s2, s0 
# | next:2317'0     ~~~~~~~~~~~~~~~~~~
# |            825:  s_mov_b32 s3, s0 
# | next:2317'0     ~~~~~~~~~~~~~~~~~~
# |            826:  v_mov_b32_e32 v0, s0 
# | next:2317'0     ~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            883:  .globl zero_init_large_offset_foo ; -- Begin function zero_init_large_offset_foo 
# | next:2317'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            884:  .p2align 2 
# | next:2317'0     ~~~~~~~~~~~~
# |            885:  .type zero_init_large_offset_foo,@function 
# | next:2317'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            886: zero_init_large_offset_foo: ; @zero_init_large_offset_foo 
# | next:2317'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            887: ; %bb.0: 
# |            888:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# | next:2540'0                                             X error: no match found
# |            889:  scratch_load_dword v0, off, s32 glc 
# | next:2540'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:2540'1      ?                                    possible intended match
# |            890:  s_waitcnt vmcnt(0) 
# | next:2540'0     ~~~~~~~~~~~~~~~~~~~~
# |            891:  s_mov_b32 s0, 0 
# | next:2540'0     ~~~~~~~~~~~~~~~~~
# |            892:  s_mov_b32 s1, s0 
# | next:2540'0     ~~~~~~~~~~~~~~~~~~
# |            893:  s_mov_b32 s2, s0 
# | next:2540'0     ~~~~~~~~~~~~~~~~~~
# |            894:  s_mov_b32 s3, s0 
# | next:2540'0     ~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            940: store_load_sindex_large_offset_kernel: ; @store_load_sindex_large_offset_kernel 
# | next:2540'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            941: ; %bb.0: ; %bb 
# |            942:  s_load_dword s0, s[4:5], 0x24 
# |            943:  s_add_u32 flat_scratch_lo, s8, s13 
# |            944:  s_addc_u32 flat_scratch_hi, s9, 0 
# |            945:  s_mov_b32 s1, 0 
# | next:2785'0                     X error: no match found
# |            946:  scratch_load_dword v0, off, s1 glc 
# | next:2785'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:2785'1      ?                                   possible intended match
# |            947:  s_waitcnt vmcnt(0) lgkmcnt(0) 
# | next:2785'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            948:  s_lshl_b32 s1, s0, 2 
# | next:2785'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            949:  s_and_b32 s0, s0, 15 
# | next:2785'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            950:  v_mov_b32_e32 v0, 15 
# | next:2785'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            951:  s_add_i32 s1, s1, 4 
# | next:2785'0     ~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           1013:  .type store_load_sindex_large_offset_foo,@function 
# | next:2785'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1014: store_load_sindex_large_offset_foo: ; @store_load_sindex_large_offset_foo 
# | next:2785'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1015: ; %bb.0: ; %bb 
# |           1016:  s_add_u32 flat_scratch_lo, s0, s3 
# |           1017:  s_addc_u32 flat_scratch_hi, s1, 0 
# |           1018:  s_mov_b32 s0, 0 
# | next:3009'0                     X error: no match found
# |           1019:  scratch_load_dword v0, off, s0 glc 
# | next:3009'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:3009'1      ?                                   possible intended match
# |           1020:  s_waitcnt vmcnt(0) 
# | next:3009'0     ~~~~~~~~~~~~~~~~~~~~
# |           1021:  s_lshl_b32 s0, s2, 2 
# | next:3009'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           1022:  s_add_i32 s0, s0, 4 
# | next:3009'0     ~~~~~~~~~~~~~~~~~~~~~
# |           1023:  v_mov_b32_e32 v0, 15 
# | next:3009'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           1024:  scratch_store_dword off, v0, s0 
# | next:3009'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           1083: store_load_vindex_large_offset_kernel: ; @store_load_vindex_large_offset_kernel 
# | next:3009'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1084: ; %bb.0: ; %bb 
# |           1085:  s_load_dword s0, s[4:5], 0x24 
# |           1086:  s_add_u32 flat_scratch_lo, s8, s13 
# |           1087:  s_addc_u32 flat_scratch_hi, s9, 0 
# |           1088:  s_mov_b32 s1, 0 
# | next:3217'0                     X error: no match found
# |           1089:  scratch_load_dword v1, off, s1 glc 
# | next:3217'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:3217'1      ?                                   possible intended match
# |           1090:  s_waitcnt vmcnt(0) 
# | next:3217'0     ~~~~~~~~~~~~~~~~~~~~
# |           1091:  v_lshlrev_b32_e32 v0, 2, v0 
# | next:3217'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1092:  s_waitcnt lgkmcnt(0) 
# | next:3217'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           1093:  s_lshl_b32 s0, s0, 7 
# | next:3217'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           1094:  v_add_u32_e32 v1, 4, v0 
# | next:3217'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           1151:  .globl store_load_vindex_large_offset_foo ; -- Begin function store_load_vindex_large_offset_foo 
# | next:3217'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1152:  .p2align 2 
# | next:3217'0     ~~~~~~~~~~~~
# |           1153:  .type store_load_vindex_large_offset_foo,@function 
# | next:3217'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1154: store_load_vindex_large_offset_foo: ; @store_load_vindex_large_offset_foo 
# | next:3217'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1155: ; %bb.0: ; %bb 
# |           1156:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# | next:3450'0                                             X error: no match found
# |           1157:  s_add_i32 s1, s32, 4 
# | next:3450'0     ~~~~~~~~~~~~~~~~~~~~~~
# | next:3450'1      ?                     possible intended match
# |           1158:  scratch_load_dword v1, off, s32 glc 
# | next:3450'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1159:  s_waitcnt vmcnt(0) 
# | next:3450'0     ~~~~~~~~~~~~~~~~~~~~
# |           1160:  s_mov_b32 s0, s1 
# | next:3450'0     ~~~~~~~~~~~~~~~~~~
# |           1161:  v_lshl_add_u32 v1, v0, 2, s0 
# | next:3450'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1162:  v_mov_b32_e32 v2, 15 
# | next:3450'0     ~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           1209:  v_mov_b32_e32 v0, 13 
# |           1210:  s_mov_b32 s0, 0 
# |           1211:  scratch_store_dword off, v0, s0 
# |           1212:  s_waitcnt vmcnt(0) 
# |           1213:  v_mov_b32_e32 v0, 15 
# |           1214:  scratch_store_dword off, v0, s0 offset:4 
# | next:3622        !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |           1215:  s_waitcnt vmcnt(0) 
# |           1216:  scratch_load_dword v0, off, s0 offset:4 glc 
# |           1217:  s_waitcnt vmcnt(0) 
# |           1218:  s_endpgm 
# |           1219: .Lfunc_end19: 
# |              .
# |              .
# |              .
# |           1267:  .globl store_load_large_imm_offset_foo ; -- Begin function store_load_large_imm_offset_foo 
# |           1268:  .p2align 2 
# |           1269:  .type store_load_large_imm_offset_foo,@function 
# |           1270: store_load_large_imm_offset_foo: ; @store_load_large_imm_offset_foo 
# |           1271: ; %bb.0: ; %bb 
# |           1272:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# | next:3793'0                                             X error: no match found
# |           1273:  v_mov_b32_e32 v0, 13 
# | next:3793'0     ~~~~~~~~~~~~~~~~~~~~~~
# | next:3793'1      ?                     possible intended match
# |           1274:  scratch_store_dword off, v0, s32 
# | next:3793'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1275:  s_waitcnt vmcnt(0) 
# | next:3793'0     ~~~~~~~~~~~~~~~~~~~~
# |           1276:  v_mov_b32_e32 v0, 15 
# | next:3793'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           1277:  scratch_store_dword off, v0, s32 offset:4 
# | next:3793'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1278:  s_waitcnt vmcnt(0) 
# | next:3793'0     ~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/frame-index-elimination.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=kaveri -mattr=-promote-alloca < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/frame-index-elimination.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefixes=GCN,CI,MUBUF /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/frame-index-elimination.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=kaveri -mattr=-promote-alloca
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefixes=GCN,CI,MUBUF /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/frame-index-elimination.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/frame-index-elimination.ll:194:10: error: MUBUF: expected string not found in input
# | ; MUBUF: s_addk_i32 [[SCALED]], 0x200
# |          ^
# | <stdin>:315:23: note: scanning from here
# |  s_lshr_b32 s5, s32, 6
# |                       ^
# | <stdin>:315:23: note: with "SCALED" equal to "s5"
# |  s_lshr_b32 s5, s32, 6
# |                       ^
# | <stdin>:316:2: note: possible intended match here
# |  s_add_i32 s5, s5, 4
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/frame-index-elimination.ll:218:10: error: MUBUF: expected string not found in input
# | ; MUBUF: s_addk_i32 [[SCALED]], 0x200
# |          ^
# | <stdin>:353:23: note: scanning from here
# |  s_lshr_b32 s5, s32, 6
# |                       ^
# | <stdin>:353:23: note: with "SCALED" equal to "s5"
# |  s_lshr_b32 s5, s32, 6
# |                       ^
# | <stdin>:354:2: note: possible intended match here
# |  s_add_i32 s5, s5, 4
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/frame-index-elimination.ll:339:7: error: CI: expected string not found in input
# | ; CI: v_lshr_b32_e64 [[SCALED_FP:v[0-9]+]], s33, 6
# |       ^
# | <stdin>:647:23: note: scanning from here
# | fi_vop3_literal_error: ; @fi_vop3_literal_error
# |                       ^
# | <stdin>:650:2: note: possible intended match here
# |  s_mov_b32 s4, s33
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/frame-index-elimination.ll:364:8: error: GCN: expected string not found in input
# | ; GCN: s_add_u32 [[ADD_LO:s[0-9]+]], 0x1010, [[S_MOVK_I32_]]
# |        ^
# | <stdin>:693:23: note: scanning from here
# |  s_movk_i32 s4, 0x1000
# |                       ^
# | <stdin>:693:23: note: with "S_MOVK_I32_" equal to "s4"
# |  s_movk_i32 s4, 0x1000
# |                       ^
# | <stdin>:694:2: note: possible intended match here
# |  s_add_u32 s4, 16, s4
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/frame-index-elimination.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            310:  .p2align 2 
# |            311:  .type func_other_fi_user_non_inline_imm_offset_i32,@function 
# |            312: func_other_fi_user_non_inline_imm_offset_i32: ; @func_other_fi_user_non_inline_imm_offset_i32 
# |            313: ; %bb.0: 
# |            314:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |            315:  s_lshr_b32 s5, s32, 6 
# | check:194'0                           X error: no match found
# | check:194'1                             with "SCALED" equal to "s5"
# |            316:  s_add_i32 s5, s5, 4 
# | check:194'0     ~~~~~~~~~~~~~~~~~~~~~
# | check:194'2      ?                    possible intended match
# |            317:  v_mov_b32_e32 v0, 7 
# | check:194'0     ~~~~~~~~~~~~~~~~~~~~~
# |            318:  s_mul_i32 s4, s5, 9 
# | check:194'0     ~~~~~~~~~~~~~~~~~~~~~
# |            319:  buffer_store_dword v0, off, s[0:3], s32 
# | check:194'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            320:  s_waitcnt vmcnt(0) 
# | check:194'0     ~~~~~~~~~~~~~~~~~~~~
# |            321:  v_mov_b32_e32 v0, s4 
# | check:194'0     ~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            348:  .p2align 2 
# | check:194'0     ~~~~~~~~~~~~
# |            349:  .type func_other_fi_user_non_inline_imm_offset_i32_vcc_live,@function 
# | check:194'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            350: func_other_fi_user_non_inline_imm_offset_i32_vcc_live: ; @func_other_fi_user_non_inline_imm_offset_i32_vcc_live 
# | check:194'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            351: ; %bb.0: 
# |            352:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |            353:  s_lshr_b32 s5, s32, 6 
# | check:218'0                           X error: no match found
# | check:218'1                             with "SCALED" equal to "s5"
# |            354:  s_add_i32 s5, s5, 4 
# | check:218'0     ~~~~~~~~~~~~~~~~~~~~~
# | check:218'2      ?                    possible intended match
# |            355:  v_mov_b32_e32 v0, 7 
# | check:218'0     ~~~~~~~~~~~~~~~~~~~~~
# |            356:  s_mul_i32 s4, s5, 9 
# | check:218'0     ~~~~~~~~~~~~~~~~~~~~~
# |            357:  ;;#ASMSTART 
# | check:218'0     ~~~~~~~~~~~~~
# |            358:  ; def vcc 
# | check:218'0     ~~~~~~~~~~~
# |            359:  ;;#ASMEND 
# | check:218'0     ~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            642: ; COMPUTE_PGM_RSRC2:TIDIG_COMP_CNT: 2 
# |            643:  .text 
# |            644:  .globl fi_vop3_literal_error ; -- Begin function fi_vop3_literal_error 
# |            645:  .p2align 2 
# |            646:  .type fi_vop3_literal_error,@function 
# |            647: fi_vop3_literal_error: ; @fi_vop3_literal_error 
# | check:339'0                           X~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |            648: ; %bb.0: ; %entry 
# | check:339'0     ~~~~~~~~~~~~~~~~~~
# |            649:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# | check:339'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            650:  s_mov_b32 s4, s33 
# | check:339'0     ~~~~~~~~~~~~~~~~~~~
# | check:339'1      ?                  possible intended match
# |            651:  s_add_i32 s33, s32, 0xfc0 
# | check:339'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            652:  s_and_b32 s33, s33, 0xfffff000 
# | check:339'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            653:  buffer_load_dword v0, off, s[0:3], s33 glc 
# | check:339'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            654:  s_waitcnt vmcnt(0) 
# | check:339'0     ~~~~~~~~~~~~~~~~~~~~
# |            655:  buffer_load_dword v0, off, s[0:3], s33 offset:4 glc 
# | check:339'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            688: fi_sop2_s_add_u32_literal_error: ; @fi_sop2_s_add_u32_literal_error 
# | check:339'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            689: ; %bb.0: ; %entry 
# |            690:  s_load_dword s5, s[8:9], 0x30 
# |            691:  s_add_u32 s0, s0, s17 
# |            692:  s_addc_u32 s1, s1, 0 
# |            693:  s_movk_i32 s4, 0x1000 
# | check:364'0                           X error: no match found
# | check:364'1                             with "S_MOVK_I32_" equal to "s4"
# |            694:  s_add_u32 s4, 16, s4 
# | check:364'0     ~~~~~~~~~~~~~~~~~~~~~~
# | check:364'2      ?                     possible intended match
# |            695:  s_waitcnt lgkmcnt(0) 
# | check:364'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            696:  s_addc_u32 s5, s5, 0 
# | check:364'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            697:  v_cmp_lt_u64_e64 s[4:5], s[4:5], 2 
# | check:364'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            698:  v_mov_b32_e32 v0, 0 
# | check:364'0     ~~~~~~~~~~~~~~~~~~~~~
# |            699:  buffer_store_dword v0, off, s[0:3], 0 offset:4 
# | check:364'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/insert_vector_elt.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=kaveri -mattr=-flat-for-global,+max-private-element-size-16 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/insert_vector_elt.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefixes=GCN,SI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/insert_vector_elt.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=kaveri -mattr=-flat-for-global,+max-private-element-size-16
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefixes=GCN,SI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/insert_vector_elt.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/insert_vector_elt.ll:1157:12: error: SI-NEXT: expected string not found in input
# | ; SI-NEXT: s_load_dwordx8 s[0:7], s[8:9], 0x8
# |            ^
# | <stdin>:2562:9: note: scanning from here
# | ; %bb.0:
# |         ^
# | <stdin>:2613:38: note: possible intended match here
# |  .set dynamic_insertelement_v8i32.uses_flat_scratch, 0
# |                                      ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/insert_vector_elt.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |           2557:  .text 
# |           2558:  .globl dynamic_insertelement_v8i32 ; -- Begin function dynamic_insertelement_v8i32 
# |           2559:  .p2align 8 
# |           2560:  .type dynamic_insertelement_v8i32,@function 
# |           2561: dynamic_insertelement_v8i32: ; @dynamic_insertelement_v8i32 
# |           2562: ; %bb.0: 
# | next:1157'0             X error: no match found
# |           2563:  s_endpgm 
# | next:1157'0     ~~~~~~~~~~
# |           2564:  .section .rodata,"a",@progbits 
# | next:1157'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2565:  .p2align 6, 0x0 
# | next:1157'0     ~~~~~~~~~~~~~~~~~
# |           2566:  .amdhsa_kernel dynamic_insertelement_v8i32 
# | next:1157'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2567:  .amdhsa_group_segment_fixed_size 0 
# | next:1157'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           2608:  .set dynamic_insertelement_v8i32.num_agpr, 0 
# | next:1157'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2609:  .set dynamic_insertelement_v8i32.numbered_sgpr, 0 
# | next:1157'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2610:  .set dynamic_insertelement_v8i32.num_named_barrier, 0 
# | next:1157'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2611:  .set dynamic_insertelement_v8i32.private_seg_size, 0 
# | next:1157'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2612:  .set dynamic_insertelement_v8i32.uses_vcc, 0 
# | next:1157'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2613:  .set dynamic_insertelement_v8i32.uses_flat_scratch, 0 
# | next:1157'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1157'1                                          ?                  possible intended match
# |           2614:  .set dynamic_insertelement_v8i32.has_dyn_sized_stack, 0 
# | next:1157'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2615:  .set dynamic_insertelement_v8i32.has_recursion, 0 
# | next:1157'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2616:  .set dynamic_insertelement_v8i32.has_indirect_call, 0 
# | next:1157'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2617:  .section .AMDGPU.csdata,"",@progbits 
# | next:1157'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2618: ; Kernel info: 
# | next:1157'0     ~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/llc-pipeline.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -mtriple=amdgcn--amdhsa -disable-verify -debug-pass=Structure < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llc-pipeline.ll 2>&1    | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -match-full-lines -strict-whitespace -check-prefix=GCN-O0 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -mtriple=amdgcn--amdhsa -disable-verify -debug-pass=Structure
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -match-full-lines -strict-whitespace -check-prefix=GCN-O0 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llc-pipeline.ll:58:15: error: GCN-O0-NEXT: is not on the line after the previous match
# | ; GCN-O0-NEXT:    Lower buffer fat pointer operations to buffer resources
# |               ^
# | <stdin>:48:1: note: 'next' match was here
# |     Lower buffer fat pointer operations to buffer resources
# | ^
# | <stdin>:43:36: note: previous match ended here
# |       AMDGPU Lower Kernel Arguments
# |                                    ^
# | <stdin>:44:1: note: non-matching line after previous match is here
# |       Dominator Tree Construction
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |          .
# |          .
# |          .
# |         43:       AMDGPU Lower Kernel Arguments 
# |         44:       Dominator Tree Construction 
# |         45:       Natural Loop Information 
# |         46:       AMDGPU TDM Descriptor Optimization 
# |         47:       SROA 
# |         48:     Lower buffer fat pointer operations to buffer resources 
# | next:58     !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |         49:     AMDGPU lower intrinsics 
# |         50:     FunctionPass Manager 
# |         51:       Lazy Value Information Analysis 
# |         52:       Lower SwitchInst's to branches 
# |         53:       Lower invoke and unwind, for unwindless code generators 
# |          .
# |          .
# |          .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/load-hi16.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx900 -mattr=-promote-alloca < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/load-hi16.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX900 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/load-hi16.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx900 -mattr=-promote-alloca
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX900 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/load-hi16.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/load-hi16.ll:2045:16: error: GFX900-NEXT: expected string not found in input
# | ; GFX900-NEXT: buffer_load_short_d16_hi v0, off, s[0:3], s32 offset:4058
# |                ^
# | <stdin>:1752:20: note: scanning from here
# |  s_waitcnt vmcnt(0)
# |                    ^
# | <stdin>:1755:2: note: possible intended match here
# |  global_store_dword v[0:1], v0, off
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/load-hi16.ll:2106:16: error: GFX900-NEXT: is not on the line after the previous match
# | ; GFX900-NEXT: buffer_store_dword v2, v1, s[0:3], 0 offen
# |                ^
# | <stdin>:1798:2: note: 'next' match was here
# |  buffer_store_dword v2, v1, s[0:3], 0 offen
# |  ^
# | <stdin>:1796:24: note: previous match ended here
# |  v_mov_b32_e32 v2, 0x7b
# |                        ^
# | <stdin>:1797:1: note: non-matching line after previous match is here
# |  v_and_b32_e32 v0, 0xffff, v0
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/load-hi16.ll:2170:16: error: GFX900-NEXT: is not on the line after the previous match
# | ; GFX900-NEXT: buffer_store_dword v2, v1, s[0:3], 0 offen
# |                ^
# | <stdin>:1843:2: note: 'next' match was here
# |  buffer_store_dword v2, v1, s[0:3], 0 offen
# |  ^
# | <stdin>:1841:24: note: previous match ended here
# |  v_mov_b32_e32 v2, 0x7b
# |                        ^
# | <stdin>:1842:1: note: non-matching line after previous match is here
# |  v_and_b32_e32 v0, 0xffff, v0
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/load-hi16.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |           1747: load_private_hi_v2i16_reglo_vreg_to_offset: ; @load_private_hi_v2i16_reglo_vreg_to_offset 
# |           1748: ; %bb.0: ; %entry 
# |           1749:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           1750:  v_mov_b32_e32 v2, 0x7b 
# |           1751:  buffer_store_dword v2, v1, s[0:3], 0 offen 
# |           1752:  s_waitcnt vmcnt(0) 
# | next:2045'0                        X error: no match found
# |           1753:  v_mov_b32_e32 v1, 0x5040100 
# | next:2045'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1754:  v_perm_b32 v0, s4, v0, v1 
# | next:2045'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1755:  global_store_dword v[0:1], v0, off 
# | next:2045'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:2045'1      ?                                   possible intended match
# |           1756:  s_waitcnt vmcnt(0) 
# | next:2045'0     ~~~~~~~~~~~~~~~~~~~~
# |           1757:  s_setpc_b64 s[30:31] 
# | next:2045'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           1758: .Lfunc_end40: 
# | next:2045'0     ~~~~~~~~~~~~~~
# |           1759:  .size load_private_hi_v2i16_reglo_vreg_to_offset, .Lfunc_end40-load_private_hi_v2i16_reglo_vreg_to_offset 
# | next:2045'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1760:  ; -- End function 
# | next:2045'0     ~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           1793: load_private_hi_v2i16_reglo_vreg_sexti8_to_offset: ; @load_private_hi_v2i16_reglo_vreg_sexti8_to_offset 
# | next:2045'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1794: ; %bb.0: ; %entry 
# |           1795:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           1796:  v_mov_b32_e32 v2, 0x7b 
# |           1797:  v_and_b32_e32 v0, 0xffff, v0 
# |           1798:  buffer_store_dword v2, v1, s[0:3], 0 offen 
# | next:2106        !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |           1799:  s_waitcnt vmcnt(0) 
# |           1800:  global_store_dword v[0:1], v0, off 
# |           1801:  s_waitcnt vmcnt(0) 
# |           1802:  s_setpc_b64 s[30:31] 
# |           1803: .Lfunc_end41: 
# |              .
# |              .
# |              .
# |           1838: load_private_hi_v2i16_reglo_vreg_zexti8_to_offset: ; @load_private_hi_v2i16_reglo_vreg_zexti8_to_offset 
# |           1839: ; %bb.0: ; %entry 
# |           1840:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           1841:  v_mov_b32_e32 v2, 0x7b 
# |           1842:  v_and_b32_e32 v0, 0xffff, v0 
# |           1843:  buffer_store_dword v2, v1, s[0:3], 0 offen 
# | next:2170        !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |           1844:  s_waitcnt vmcnt(0) 
# |           1845:  global_store_dword v[0:1], v0, off 
# |           1846:  s_waitcnt vmcnt(0) 
# |           1847:  s_setpc_b64 s[30:31] 
# |           1848: .Lfunc_end42: 
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/load-lo16.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx900 -mattr=-promote-alloca < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/load-lo16.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX900,GFX900-MUBUF /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/load-lo16.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx900 -mattr=-promote-alloca
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX900,GFX900-MUBUF /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/load-lo16.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/load-lo16.ll:1996:22: error: GFX900-MUBUF-NEXT: expected string not found in input
# | ; GFX900-MUBUF-NEXT: buffer_store_dword v1, off, s[0:3], s32 offset:4
# |                      ^
# | <stdin>:1892:24: note: scanning from here
# |  v_mov_b32_e32 v1, 0x7b
# |                        ^
# | <stdin>:1893:2: note: possible intended match here
# |  buffer_store_dword v1, off, s[0:3], s32
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/load-lo16.ll:2064:22: error: GFX900-MUBUF-NEXT: expected string not found in input
# | ; GFX900-MUBUF-NEXT: buffer_store_dword v1, off, s[0:3], s32 offset:4
# |                      ^
# | <stdin>:1938:24: note: scanning from here
# |  v_mov_b32_e32 v1, 0x7b
# |                        ^
# | <stdin>:1939:2: note: possible intended match here
# |  buffer_store_dword v1, off, s[0:3], s32
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/load-lo16.ll:2133:22: error: GFX900-MUBUF-NEXT: expected string not found in input
# | ; GFX900-MUBUF-NEXT: buffer_store_dword v1, off, s[0:3], s32 offset:4
# |                      ^
# | <stdin>:1984:24: note: scanning from here
# |  v_mov_b32_e32 v1, 0x7b
# |                        ^
# | <stdin>:1985:2: note: possible intended match here
# |  buffer_store_dword v1, off, s[0:3], s32
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/load-lo16.ll:2202:22: error: GFX900-MUBUF-NEXT: expected string not found in input
# | ; GFX900-MUBUF-NEXT: buffer_store_dword v1, off, s[0:3], s32 offset:4
# |                      ^
# | <stdin>:2030:24: note: scanning from here
# |  v_mov_b32_e32 v1, 0x7b
# |                        ^
# | <stdin>:2031:2: note: possible intended match here
# |  buffer_store_dword v1, off, s[0:3], s32
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/load-lo16.ll:2272:22: error: GFX900-MUBUF-NEXT: expected string not found in input
# | ; GFX900-MUBUF-NEXT: buffer_store_dword v1, off, s[0:3], s32 offset:4
# |                      ^
# | <stdin>:2076:24: note: scanning from here
# |  v_mov_b32_e32 v1, 0x7b
# |                        ^
# | <stdin>:2077:2: note: possible intended match here
# |  buffer_store_dword v1, off, s[0:3], s32
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/load-lo16.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |           1887:  .p2align 2 
# |           1888:  .type load_private_lo_v2i16_reglo_vreg_to_offset,@function 
# |           1889: load_private_lo_v2i16_reglo_vreg_to_offset: ; @load_private_lo_v2i16_reglo_vreg_to_offset 
# |           1890: ; %bb.0: ; %entry 
# |           1891:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           1892:  v_mov_b32_e32 v1, 0x7b 
# | next:1996'0                            X error: no match found
# |           1893:  buffer_store_dword v1, off, s[0:3], s32 
# | next:1996'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1996'1      ?                                        possible intended match
# |           1894:  s_waitcnt vmcnt(0) 
# | next:1996'0     ~~~~~~~~~~~~~~~~~~~~
# |           1895:  buffer_load_short_d16 v0, off, s[0:3], s32 offset:4 glc 
# | next:1996'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1896:  s_waitcnt vmcnt(0) 
# | next:1996'0     ~~~~~~~~~~~~~~~~~~~~
# |           1897:  global_store_dword v[0:1], v0, off 
# | next:1996'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1898:  s_waitcnt vmcnt(0) 
# | next:1996'0     ~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           1933:  .p2align 2 
# | next:1996'0     ~~~~~~~~~~~~
# |           1934:  .type load_private_lo_v2i16_reglo_vreg_sexti8_to_offset,@function 
# | next:1996'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1935: load_private_lo_v2i16_reglo_vreg_sexti8_to_offset: ; @load_private_lo_v2i16_reglo_vreg_sexti8_to_offset 
# | next:1996'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1936: ; %bb.0: ; %entry 
# |           1937:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           1938:  v_mov_b32_e32 v1, 0x7b 
# | next:2064'0                            X error: no match found
# |           1939:  buffer_store_dword v1, off, s[0:3], s32 
# | next:2064'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:2064'1      ?                                        possible intended match
# |           1940:  s_waitcnt vmcnt(0) 
# | next:2064'0     ~~~~~~~~~~~~~~~~~~~~
# |           1941:  buffer_load_sbyte_d16 v0, off, s[0:3], s32 offset:4 glc 
# | next:2064'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1942:  s_waitcnt vmcnt(0) 
# | next:2064'0     ~~~~~~~~~~~~~~~~~~~~
# |           1943:  global_store_dword v[0:1], v0, off 
# | next:2064'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1944:  s_waitcnt vmcnt(0) 
# | next:2064'0     ~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           1979:  .p2align 2 
# | next:2064'0     ~~~~~~~~~~~~
# |           1980:  .type load_private_lo_v2i16_reglo_vreg_zexti8_to_offset,@function 
# | next:2064'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1981: load_private_lo_v2i16_reglo_vreg_zexti8_to_offset: ; @load_private_lo_v2i16_reglo_vreg_zexti8_to_offset 
# | next:2064'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1982: ; %bb.0: ; %entry 
# |           1983:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           1984:  v_mov_b32_e32 v1, 0x7b 
# | next:2133'0                            X error: no match found
# |           1985:  buffer_store_dword v1, off, s[0:3], s32 
# | next:2133'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:2133'1      ?                                        possible intended match
# |           1986:  s_waitcnt vmcnt(0) 
# | next:2133'0     ~~~~~~~~~~~~~~~~~~~~
# |           1987:  buffer_load_ubyte_d16 v0, off, s[0:3], s32 offset:4 glc 
# | next:2133'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1988:  s_waitcnt vmcnt(0) 
# | next:2133'0     ~~~~~~~~~~~~~~~~~~~~
# |           1989:  global_store_dword v[0:1], v0, off 
# | next:2133'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1990:  s_waitcnt vmcnt(0) 
# | next:2133'0     ~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           2025:  .p2align 2 
# | next:2133'0     ~~~~~~~~~~~~
# |           2026:  .type load_private_lo_v2f16_reglo_vreg_sexti8_to_offset,@function 
# | next:2133'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2027: load_private_lo_v2f16_reglo_vreg_sexti8_to_offset: ; @load_private_lo_v2f16_reglo_vreg_sexti8_to_offset 
# | next:2133'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2028: ; %bb.0: ; %entry 
# |           2029:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           2030:  v_mov_b32_e32 v1, 0x7b 
# | next:2202'0                            X error: no match found
# |           2031:  buffer_store_dword v1, off, s[0:3], s32 
# | next:2202'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:2202'1      ?                                        possible intended match
# |           2032:  s_waitcnt vmcnt(0) 
# | next:2202'0     ~~~~~~~~~~~~~~~~~~~~
# |           2033:  buffer_load_sbyte_d16 v0, off, s[0:3], s32 offset:4 glc 
# | next:2202'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2034:  s_waitcnt vmcnt(0) 
# | next:2202'0     ~~~~~~~~~~~~~~~~~~~~
# |           2035:  global_store_dword v[0:1], v0, off 
# | next:2202'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2036:  s_waitcnt vmcnt(0) 
# | next:2202'0     ~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |           2071:  .p2align 2 
# | next:2202'0     ~~~~~~~~~~~~
# |           2072:  .type load_private_lo_v2f16_reglo_vreg_zexti8_to_offset,@function 
# | next:2202'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2073: load_private_lo_v2f16_reglo_vreg_zexti8_to_offset: ; @load_private_lo_v2f16_reglo_vreg_zexti8_to_offset 
# | next:2202'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2074: ; %bb.0: ; %entry 
# |           2075:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           2076:  v_mov_b32_e32 v1, 0x7b 
# | next:2272'0                            X error: no match found
# |           2077:  buffer_store_dword v1, off, s[0:3], s32 
# | next:2272'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:2272'1      ?                                        possible intended match
# |           2078:  s_waitcnt vmcnt(0) 
# | next:2272'0     ~~~~~~~~~~~~~~~~~~~~
# |           2079:  buffer_load_ubyte_d16 v0, off, s[0:3], s32 offset:4 glc 
# | next:2272'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2080:  s_waitcnt vmcnt(0) 
# | next:2272'0     ~~~~~~~~~~~~~~~~~~~~
# |           2081:  global_store_dword v[0:1], v0, off 
# | next:2272'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           2082:  s_waitcnt vmcnt(0) 
# | next:2272'0     ~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/mdt-preserving-crash.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/mdt-preserving-crash.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/mdt-preserving-crash.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/mdt-preserving-crash.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/mdt-preserving-crash.ll:12:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: s_add_u32 s0, s0, s17
# |               ^
# | <stdin>:12:28: note: scanning from here
# |  flat_load_dword v0, v[0:1]
# |                            ^
# | <stdin>:15:2: note: possible intended match here
# |  s_add_u32 s20, s20, s17
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/mdt-preserving-crash.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |            7:  .type _RSENC_PRInit__________________________________,@function 
# |            8: _RSENC_PRInit__________________________________: ; @_RSENC_PRInit__________________________________ 
# |            9: ; %bb.0: ; %entry 
# |           10:  s_add_u32 flat_scratch_lo, s12, s17 
# |           11:  s_addc_u32 flat_scratch_hi, s13, 0 
# |           12:  flat_load_dword v0, v[0:1] 
# | next:12'0                                X error: no match found
# |           13:  s_mov_b64 s[22:23], s[2:3] 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           14:  s_mov_b64 s[20:21], s[0:1] 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           15:  s_add_u32 s20, s20, s17 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:12'1      ?                        possible intended match
# |           16:  s_mov_b32 s0, 0xf19b3 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~
# |           17:  s_addc_u32 s21, s21, 0 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |           18:  s_waitcnt vmcnt(0) lgkmcnt(0) 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           19:  v_lshl_add_u32 v0, v0, 1, v0 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           20:  v_cmp_ne_u32_e32 vcc, s0, v0 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/memory-legalizer-store-infinite-loop.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn--amdhsa < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/memory-legalizer-store-infinite-loop.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GCN /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/memory-legalizer-store-infinite-loop.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn--amdhsa
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GCN /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/memory-legalizer-store-infinite-loop.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/memory-legalizer-store-infinite-loop.ll:15:13: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: s_add_u32 s0, s0, s17
# |             ^
# | <stdin>:11:36: note: scanning from here
# |  s_lshr_b32 flat_scratch_hi, s12, 8
# |                                    ^
# | <stdin>:18:2: note: possible intended match here
# |  s_add_u32 s0, s0, 4
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/memory-legalizer-store-infinite-loop.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |            6:  .type _Z6brokenPd,@function 
# |            7: _Z6brokenPd: ; @_Z6brokenPd 
# |            8: ; %bb.0: ; %bb 
# |            9:  s_mov_b32 flat_scratch_lo, s13 
# |           10:  s_add_i32 s12, s12, s17 
# |           11:  s_lshr_b32 flat_scratch_hi, s12, 8 
# | next:15'0                                        X error: no match found
# |           12:  s_load_dwordx2 s[0:1], s[8:9], 0x0 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           13:  v_mov_b32_e32 v2, 0 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~
# |           14:  v_mov_b32_e32 v3, 0x7ff80000 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           15:  s_waitcnt lgkmcnt(0) 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           16:  v_mov_b32_e32 v0, s0 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           17:  v_mov_b32_e32 v1, s1 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           18:  s_add_u32 s0, s0, 4 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~
# | next:15'1      ?                    possible intended match
# |           19:  s_addc_u32 s1, s1, 0 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           20:  flat_store_dword v[0:1], v2 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           21:  v_mov_b32_e32 v0, s0 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           22:  v_mov_b32_e32 v1, s1 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           23:  flat_store_dword v[0:1], v3 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/nested-calls.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=fiji -mattr=-flat-for-global < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/nested-calls.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefixes=GCN,FIJI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/nested-calls.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=fiji -mattr=-flat-for-global
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefixes=GCN,FIJI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/nested-calls.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/nested-calls.ll:53:13: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: buffer_store_dword v40, off, s[0:3], s33 offset:64 ; 4-byte Folded Spill
# |             ^
# | <stdin>:85:32: note: scanning from here
# |  s_or_saveexec_b64 s[18:19], -1
# |                                ^
# | <stdin>:86:2: note: possible intended match here
# |  buffer_store_dword v40, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/nested-calls.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |           80: test_func_call_external_void_func_i32_imm_stack_use: ; @test_func_call_external_void_func_i32_imm_stack_use 
# |           81: ; %bb.0: 
# |           82:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           83:  s_mov_b32 s16, s33 
# |           84:  s_mov_b32 s33, s32 
# |           85:  s_or_saveexec_b64 s[18:19], -1 
# | next:53'0                                    X error: no match found
# |           86:  buffer_store_dword v40, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill 
# | next:53'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:53'1      ?                                                                        possible intended match
# |           87:  s_mov_b64 exec, s[18:19] 
# | next:53'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           88:  s_addk_i32 s32, 0x400 
# | next:53'0     ~~~~~~~~~~~~~~~~~~~~~~~
# |           89:  v_writelane_b32 v40, s16, 2 
# | next:53'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           90:  s_getpc_b64 s[16:17] 
# | next:53'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           91:  s_add_u32 s16, s16, external_void_func_i32@gotpcrel32@lo+4 
# | next:53'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/parallelandifcollapse.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=r600 -mcpu=redwood -mattr=-promote-alloca < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/parallelandifcollapse.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/parallelandifcollapse.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=r600 -mcpu=redwood -mattr=-promote-alloca
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/parallelandifcollapse.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/parallelandifcollapse.ll:6:10: error: CHECK: expected string not found in input
# | ; CHECK: AND_INT
# |          ^
# | <stdin>:1:1: note: scanning from here
# |  .section .AMDGPU.config,"",@progbits
# | ^
# | <stdin>:17:9: note: possible intended match here
# |  PRED_SETNE_INT * Pred,PredicateBit (MASKED), PV.W, 0.0, 
# |         ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/parallelandifcollapse.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1:  .section .AMDGPU.config,"",@progbits 
# | check:6'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |            2:  .long 166100 
# | check:6'0     ~~~~~~~~~~~~~~
# |            3:  .long 1 
# | check:6'0     ~~~~~~~~~
# |            4:  .long 165900 
# | check:6'0     ~~~~~~~~~~~~~~
# |            5:  .long 0 
# | check:6'0     ~~~~~~~~~
# |            6:  .long 166120 
# | check:6'0     ~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# |           12: _Z9chk1D_512v: ; @_Z9chk1D_512v 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           13: ; %bb.0: ; %entry 
# | check:6'0     ~~~~~~~~~~~~~~~~~~
# |           14:  ALU 2, @0, KC0[], KC1[] 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |           15:  MOV * T0.W, literal.x,  
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |           16:  0(0.000000e+00), 0(0.000000e+00) 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           17:  PRED_SETNE_INT * Pred,PredicateBit (MASKED), PV.W, 0.0,  
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:6'1             ?                                                  possible intended match
# |           18:  RETURN 
# | check:6'0     ~~~~~~~~
# |           19:  
# | check:6'0     ~
# |           20: .Lfunc_end0: 
# | check:6'0     ~~~~~~~~~~~~~
# |           21:  .size _Z9chk1D_512v, .Lfunc_end0-_Z9chk1D_512v 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           22:  ; -- End function 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/required-export-priority.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx1150 -amdgpu-enable-vopd=0 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/required-export-priority.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GCN /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/required-export-priority.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx1150 -amdgpu-enable-vopd=0
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GCN /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/required-export-priority.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/required-export-priority.ll:269:13: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: v_cndmask_b32_e32 v0, 16, v2, vcc_lo
# |             ^
# | <stdin>:889:33: note: scanning from here
# |  s_delay_alu instid0(VALU_DEP_2)
# |                                 ^
# | <stdin>:890:2: note: possible intended match here
# |  v_cndmask_b32_e32 v0, 8, v2, vcc_lo
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/required-export-priority.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           884: test_export_across_store_load: ; @test_export_across_store_load 
# |           885: ; %bb.0: 
# |           886:  s_setprio 2 
# |           887:  v_mov_b32_e32 v2, 0 
# |           888:  v_cmp_eq_u32_e32 vcc_lo, 1, v0 
# |           889:  s_delay_alu instid0(VALU_DEP_2) 
# | next:269'0                                     X error: no match found
# |           890:  v_cndmask_b32_e32 v0, 8, v2, vcc_lo 
# | next:269'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:269'1      ?                                    possible intended match
# |           891:  v_mov_b32_e32 v2, 0 
# | next:269'0     ~~~~~~~~~~~~~~~~~~~~~
# |           892:  scratch_store_b32 v0, v1, off 
# | next:269'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           893:  scratch_load_b32 v0, off, off 
# | next:269'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           894:  v_mov_b32_e32 v1, 1.0 
# | next:269'0     ~~~~~~~~~~~~~~~~~~~~~~~
# |           895:  exp pos0 v2, v2, v2, v1 done 
# | next:269'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/resource-optimization-remarks.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 -pass-remarks-output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/CodeGen/AMDGPU/Output/resource-optimization-remarks.ll.tmp -pass-remarks-analysis=kernel-resource-usage -filetype=null /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/resource-optimization-remarks.ll 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=STDERR /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/resource-optimization-remarks.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx908 -pass-remarks-output=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/CodeGen/AMDGPU/Output/resource-optimization-remarks.ll.tmp -pass-remarks-analysis=kernel-resource-usage -filetype=null /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/resource-optimization-remarks.ll
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=STDERR /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/resource-optimization-remarks.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/resource-optimization-remarks.ll:165:16: error: STDERR-NEXT: expected string not found in input
# | ; STDERR-NEXT: remark: foo.cl:74:0: ScratchSize [bytes/lane]: 144
# |                ^
# | <stdin>:34:66: note: scanning from here
# | remark: foo.cl:74:0: AGPRs: test_indirect_w_static_stack.num_agpr
# |                                                                  ^
# | <stdin>:35:1: note: possible intended match here
# | remark: foo.cl:74:0: ScratchSize [bytes/lane]: 48
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/resource-optimization-remarks.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            29: remark: foo.cl:64:0: VGPRs Spill: 0 
# |            30: remark: foo.cl:64:0: LDS Size [bytes/block]: 0 
# |            31: remark: foo.cl:74:0: Function Name: test_indirect_w_static_stack 
# |            32: remark: foo.cl:74:0: TotalSGPRs: test_indirect_w_static_stack.numbered_sgpr+6 
# |            33: remark: foo.cl:74:0: VGPRs: test_indirect_w_static_stack.num_vgpr 
# |            34: remark: foo.cl:74:0: AGPRs: test_indirect_w_static_stack.num_agpr 
# | next:165'0                                                                      X error: no match found
# |            35: remark: foo.cl:74:0: ScratchSize [bytes/lane]: 48 
# | next:165'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:165'1     ?                                                  possible intended match
# |            36: remark: foo.cl:74:0: Dynamic Stack: True 
# | next:165'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            37: remark: foo.cl:74:0: Occupancy [waves/SIMD]: occupancy(10, 4, 256, 8, 10, max(test_indirect_w_static_stack.numbered_sgpr+extrasgprs(test_indirect_w_static_stack.uses_vcc, test_indirect_w_static_stack.uses_flat_scratch, 1), 1, 0), max(totalnumvgprs(test_indirect_w_static_stack.num_agpr, test_indirect_w_static_stack.num_vgpr), 1, 0)) 
# | next:165'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            38: remark: foo.cl:74:0: SGPRs Spill: 0 
# | next:165'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            39: remark: foo.cl:74:0: VGPRs Spill: 0 
# | next:165'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            40: remark: foo.cl:74:0: LDS Size [bytes/block]: 0 
# | next:165'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/sibling-call.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=fiji -mattr=-flat-for-global -enable-ipra=0 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/sibling-call.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefixes=GCN,FIJI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/sibling-call.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=fiji -mattr=-flat-for-global -enable-ipra=0
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefixes=GCN,FIJI /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/sibling-call.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/sibling-call.ll:35:14: error: FIJI-NEXT: expected string not found in input
# | ; FIJI-NEXT: buffer_store_dword v2, off, s[0:3], s32 offset:20
# |              ^
# | <stdin>:40:31: note: scanning from here
# |  v_add_u32_e32 v0, vcc, v0, v1
# |                               ^
# | <stdin>:41:2: note: possible intended match here
# |  buffer_store_dword v2, off, s[0:3], s32
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/sibling-call.ll:87:13: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: buffer_store_dword v2, off, s[0:3], s32 offset:20
# |             ^
# | <stdin>:109:21: note: scanning from here
# |  v_mov_b32_e32 v2, 9
# |                     ^
# | <stdin>:110:2: note: possible intended match here
# |  buffer_store_dword v2, off, s[0:3], s32
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/sibling-call.ll:107:13: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: buffer_store_dword v2, off, s[0:3], s32 offset:20
# |             ^
# | <stdin>:144:21: note: scanning from here
# |  v_mov_b32_e32 v2, 9
# |                     ^
# | <stdin>:145:2: note: possible intended match here
# |  buffer_store_dword v2, off, s[0:3], s32
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/sibling-call.ll:358:13: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: buffer_store_dword v34, off, s[0:3], s32 offset:32
# |             ^
# | <stdin>:509:22: note: scanning from here
# |  v_mov_b32_e32 v34, 9
# |                      ^
# | <stdin>:510:2: note: possible intended match here
# |  buffer_store_dword v34, off, s[0:3], s32 offset:12
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/sibling-call.ll:504:13: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: buffer_store_dword v34, off, s[0:3], s32 offset:32
# |             ^
# | <stdin>:699:22: note: scanning from here
# |  v_mov_b32_e32 v34, 9
# |                      ^
# | <stdin>:700:2: note: possible intended match here
# |  buffer_store_dword v34, off, s[0:3], s32 offset:12
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/sibling-call.ll:528:13: error: GCN-NEXT: expected string not found in input
# | ; GCN-NEXT: buffer_store_dword v2, off, s[0:3], s32 offset:48
# |             ^
# | <stdin>:738:21: note: scanning from here
# |  v_mov_b32_e32 v2, 9
# |                     ^
# | <stdin>:739:2: note: possible intended match here
# |  buffer_store_dword v2, off, s[0:3], s32 offset:28
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/sibling-call.ll:886:13: error: GCN-NEXT: is not on the line after the previous match
# | ; GCN-NEXT: buffer_store_dword v1, off, s[0:3], s32 offset:148
# |             ^
# | <stdin>:960:2: note: 'next' match was here
# |  buffer_store_dword v1, off, s[0:3], s32 offset:148
# |  ^
# | <stdin>:958:58: note: previous match ended here
# |  s_addc_u32 s17, s17, void_fastcc_multi_byval@rel32@hi+12
# |                                                          ^
# | <stdin>:959:1: note: non-matching line after previous match is here
# |  buffer_store_dword v1, off, s[0:3], s32 offset:144
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/sibling-call.ll:918:13: error: GCN-NEXT: is not on the line after the previous match
# | ; GCN-NEXT: buffer_store_dword v1, off, s[0:3], s32 offset:148
# |             ^
# | <stdin>:1003:2: note: 'next' match was here
# |  buffer_store_dword v1, off, s[0:3], s32 offset:148
# |  ^
# | <stdin>:1001:21: note: previous match ended here
# |  v_mov_b32_e32 v1, 9
# |                     ^
# | <stdin>:1002:1: note: non-matching line after previous match is here
# |  buffer_store_dword v1, off, s[0:3], s32 offset:144
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/sibling-call.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            35:  .type i32_fastcc_i32_i32_stack_object,@function 
# |            36: i32_fastcc_i32_i32_stack_object: ; @i32_fastcc_i32_i32_stack_object 
# |            37: ; %bb.0: 
# |            38:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |            39:  v_mov_b32_e32 v2, 9 
# |            40:  v_add_u32_e32 v0, vcc, v0, v1 
# | next:35'0                                    X error: no match found
# |            41:  buffer_store_dword v2, off, s[0:3], s32 
# | next:35'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:35'1       ?                                        possible intended match
# |            42:  s_waitcnt vmcnt(0) 
# | next:35'0      ~~~~~~~~~~~~~~~~~~~~
# |            43:  s_setpc_b64 s[30:31] 
# | next:35'0      ~~~~~~~~~~~~~~~~~~~~~~
# |            44: .Lfunc_end1: 
# | next:35'0      ~~~~~~~~~~~~~
# |            45:  .size i32_fastcc_i32_i32_stack_object, .Lfunc_end1-i32_fastcc_i32_i32_stack_object 
# | next:35'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            46:  ; -- End function 
# | next:35'0      ~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           104:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           105:  s_getpc_b64 s[4:5] 
# |           106:  s_add_u32 s4, s4, i32_fastcc_i32_i32@gotpcrel32@lo+4 
# |           107:  s_addc_u32 s5, s5, i32_fastcc_i32_i32@gotpcrel32@hi+12 
# |           108:  s_load_dwordx2 s[4:5], s[4:5], 0x0 
# |           109:  v_mov_b32_e32 v2, 9 
# | next:87'0                          X error: no match found
# |           110:  buffer_store_dword v2, off, s[0:3], s32 
# | next:87'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:87'1       ?                                        possible intended match
# |           111:  s_waitcnt vmcnt(0) lgkmcnt(0) 
# | next:87'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           112:  s_setpc_b64 s[4:5] 
# | next:87'0      ~~~~~~~~~~~~~~~~~~~~
# |           113: .Lfunc_end3: 
# | next:87'0      ~~~~~~~~~~~~~
# |           114:  .size sibling_call_i32_fastcc_i32_i32_stack_object, .Lfunc_end3-sibling_call_i32_fastcc_i32_i32_stack_object 
# | next:87'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           115:  ; -- End function 
# | next:87'0      ~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           139:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           140:  s_getpc_b64 s[4:5] 
# |           141:  s_add_u32 s4, s4, i32_fastcc_i32_i32_stack_object@gotpcrel32@lo+4 
# |           142:  s_addc_u32 s5, s5, i32_fastcc_i32_i32_stack_object@gotpcrel32@hi+12 
# |           143:  s_load_dwordx2 s[4:5], s[4:5], 0x0 
# |           144:  v_mov_b32_e32 v2, 9 
# | next:107'0                         X error: no match found
# |           145:  buffer_store_dword v2, off, s[0:3], s32 
# | next:107'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:107'1      ?                                        possible intended match
# |           146:  s_waitcnt vmcnt(0) lgkmcnt(0) 
# | next:107'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           147:  s_setpc_b64 s[4:5] 
# | next:107'0     ~~~~~~~~~~~~~~~~~~~~
# |           148: .Lfunc_end4: 
# | next:107'0     ~~~~~~~~~~~~~
# |           149:  .size sibling_call_i32_fastcc_i32_i32_callee_stack_object, .Lfunc_end4-sibling_call_i32_fastcc_i32_i32_callee_stack_object 
# | next:107'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           150:  ; -- End function 
# | next:107'0     ~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           504:  buffer_load_dword v33, off, s[0:3], s32 offset:8 
# |           505:  s_getpc_b64 s[4:5] 
# |           506:  s_add_u32 s4, s4, i32_fastcc_i32_i32_a32i32@gotpcrel32@lo+4 
# |           507:  s_addc_u32 s5, s5, i32_fastcc_i32_i32_a32i32@gotpcrel32@hi+12 
# |           508:  s_load_dwordx2 s[4:5], s[4:5], 0x0 
# |           509:  v_mov_b32_e32 v34, 9 
# | next:358'0                          X error: no match found
# |           510:  buffer_store_dword v34, off, s[0:3], s32 offset:12 
# | next:358'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:358'1      ?                                                   possible intended match
# |           511:  s_waitcnt vmcnt(0) 
# | next:358'0     ~~~~~~~~~~~~~~~~~~~~
# |           512:  buffer_store_dword v31, off, s[0:3], s32 
# | next:358'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           513:  buffer_store_dword v32, off, s[0:3], s32 offset:4 
# | next:358'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           514:  buffer_store_dword v33, off, s[0:3], s32 offset:8 
# | next:358'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           515:  s_waitcnt lgkmcnt(0) 
# | next:358'0     ~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           694:  buffer_load_dword v33, off, s[0:3], s32 offset:8 
# |           695:  s_getpc_b64 s[4:5] 
# |           696:  s_add_u32 s4, s4, i32_fastcc_i32_i32_a32i32@gotpcrel32@lo+4 
# |           697:  s_addc_u32 s5, s5, i32_fastcc_i32_i32_a32i32@gotpcrel32@hi+12 
# |           698:  s_load_dwordx2 s[4:5], s[4:5], 0x0 
# |           699:  v_mov_b32_e32 v34, 9 
# | next:504'0                          X error: no match found
# |           700:  buffer_store_dword v34, off, s[0:3], s32 offset:12 
# | next:504'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:504'1      ?                                                   possible intended match
# |           701:  s_waitcnt vmcnt(0) 
# | next:504'0     ~~~~~~~~~~~~~~~~~~~~
# |           702:  buffer_store_dword v31, off, s[0:3], s32 
# | next:504'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           703:  buffer_store_dword v32, off, s[0:3], s32 offset:4 
# | next:504'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           704:  buffer_store_dword v33, off, s[0:3], s32 offset:8 
# | next:504'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           705:  s_waitcnt lgkmcnt(0) 
# | next:504'0     ~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           733:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           734:  s_getpc_b64 s[4:5] 
# |           735:  s_add_u32 s4, s4, i32_fastcc_i32_i32_a32i32@gotpcrel32@lo+4 
# |           736:  s_addc_u32 s5, s5, i32_fastcc_i32_i32_a32i32@gotpcrel32@hi+12 
# |           737:  s_load_dwordx2 s[4:5], s[4:5], 0x0 
# |           738:  v_mov_b32_e32 v2, 9 
# | next:528'0                         X error: no match found
# |           739:  buffer_store_dword v2, off, s[0:3], s32 offset:28 
# | next:528'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:528'1      ?                                                  possible intended match
# |           740:  s_waitcnt vmcnt(0) 
# | next:528'0     ~~~~~~~~~~~~~~~~~~~~
# |           741:  v_mov_b32_e32 v2, 0 
# | next:528'0     ~~~~~~~~~~~~~~~~~~~~~
# |           742:  buffer_store_dword v2, off, s[0:3], s32 
# | next:528'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           743:  buffer_store_dword v2, off, s[0:3], s32 offset:4 
# | next:528'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           744:  buffer_store_dword v2, off, s[0:3], s32 offset:8 
# | next:528'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           955:  v_mov_b32_e32 v2, 0 
# |           956:  s_getpc_b64 s[16:17] 
# |           957:  s_add_u32 s16, s16, void_fastcc_multi_byval@rel32@lo+4 
# |           958:  s_addc_u32 s17, s17, void_fastcc_multi_byval@rel32@hi+12 
# |           959:  buffer_store_dword v1, off, s[0:3], s32 offset:144 
# |           960:  buffer_store_dword v1, off, s[0:3], s32 offset:148 
# | next:886        !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |           961:  buffer_store_dword v1, off, s[0:3], s32 offset:152 
# |           962:  buffer_store_dword v2, off, s[0:3], s32 offset:164 
# |           963:  buffer_store_dword v2, off, s[0:3], s32 offset:160 
# |           964:  buffer_store_dword v2, off, s[0:3], s32 offset:172 
# |           965:  buffer_store_dword v2, off, s[0:3], s32 offset:168 
# |             .
# |             .
# |             .
# |           998: sibling_call_byval_and_stack_passed: ; @sibling_call_byval_and_stack_passed 
# |           999: ; %bb.0: ; %entry 
# |          1000:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |          1001:  v_mov_b32_e32 v1, 9 
# |          1002:  buffer_store_dword v1, off, s[0:3], s32 offset:144 
# |          1003:  buffer_store_dword v1, off, s[0:3], s32 offset:148 
# | next:918        !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |          1004:  buffer_store_dword v1, off, s[0:3], s32 offset:152 
# |          1005:  buffer_store_dword v1, off, s[0:3], s32 offset:4 
# |          1006:  buffer_store_dword v1, off, s[0:3], s32 
# |          1007:  buffer_store_dword v1, off, s[0:3], s32 offset:8 
# |          1008:  v_mov_b32_e32 v1, 0 
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/splitkit-getsubrangeformask.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx1010 -stop-after=greedy < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/splitkit-getsubrangeformask.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/splitkit-getsubrangeformask.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx1010 -stop-after=greedy
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/splitkit-getsubrangeformask.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/splitkit-getsubrangeformask.ll:34:16: error: CHECK-NEXT: expected string not found in input
# |  ; CHECK-NEXT: [[S_BUFFER_LOAD_DWORD_IMM:%[0-9]+]]:sreg_32_xm0_xexec = S_BUFFER_LOAD_DWORD_IMM undef %130:sgpr_128, 0, 0 :: (dereferenceable invariant load (s32))
# |                ^
# | <stdin>:1374:114: note: scanning from here
# |  undef %66.sub0_sub1:sgpr_128 = S_LOAD_DWORDX2_IMM %56, 232, 0 :: (invariant load (s64) from %ir.39, addrspace 4)
# |                                                                                                                  ^
# | <stdin>:1375:2: note: possible intended match here
# |  %123:sreg_32_xm0_xexec = S_BUFFER_LOAD_DWORD_IMM undef %124:sgpr_128, 0, 0 :: (dereferenceable invariant load (s32))
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/splitkit-getsubrangeformask.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |         1369:  %22:sgpr_32 = COPY $sgpr22 
# |         1370:  %23:sgpr_32 = COPY $sgpr23 
# |         1371:  %9:sgpr_32 = COPY $sgpr9 
# |         1372:  %10:sgpr_32 = COPY $sgpr10 
# |         1373:  %8:sgpr_32 = COPY $sgpr8 
# |         1374:  undef %66.sub0_sub1:sgpr_128 = S_LOAD_DWORDX2_IMM %56, 232, 0 :: (invariant load (s64) from %ir.39, addrspace 4) 
# | next:34'0                                                                                                                      X error: no match found
# |         1375:  %123:sreg_32_xm0_xexec = S_BUFFER_LOAD_DWORD_IMM undef %124:sgpr_128, 0, 0 :: (dereferenceable invariant load (s32)) 
# | next:34'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:34'1      ?                                                                                                                     possible intended match
# |         1376:  KILL undef %124:sgpr_128 
# | next:34'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         1377:  %80:sreg_32 = S_LSHL_B32 %3, 4, implicit-def dead $scc 
# | next:34'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         1378:  %93:sreg_32 = S_LSHL_B32 %4, 4, implicit-def dead $scc 
# | next:34'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         1379:  %103:sreg_32 = S_LSHL_B32 %5, 4, implicit-def dead $scc 
# | next:34'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         1380:  %83:sreg_32_xm0 = S_ASHR_I32 %80, 31, implicit-def dead $scc 
# | next:34'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/stacksave_stackrestore.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdpal -mcpu=gfx1030 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/stacksave_stackrestore.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GCN,WAVE32,WAVE32-OPT /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/stacksave_stackrestore.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdpal -mcpu=gfx1030
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GCN,WAVE32,WAVE32-OPT /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/stacksave_stackrestore.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/stacksave_stackrestore.ll:857:20: error: WAVE32-OPT-NEXT: expected string not found in input
# | ; WAVE32-OPT-NEXT: s_movk_i32 s32, 0x1200
# |                    ^
# | <stdin>:575:30: note: scanning from here
# |  v_lshlrev_b32_e32 v1, 10, v1
# |                              ^
# | <stdin>:576:2: note: possible intended match here
# |  s_movk_i32 s32, 0x200
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/stacksave_stackrestore.ll:1270:20: error: WAVE32-OPT-NEXT: expected string not found in input
# | ; WAVE32-OPT-NEXT: buffer_store_dword v32, off, s[0:3], s33 offset:128 ; 4-byte Folded Spill
# |                    ^
# | <stdin>:650:28: note: scanning from here
# |  s_xor_saveexec_b32 s16, -1
# |                            ^
# | <stdin>:651:2: note: possible intended match here
# |  buffer_store_dword v32, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/stacksave_stackrestore.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            570: ; %bb.0: 
# |            571:  s_getpc_b64 s[20:21] 
# |            572:  s_mov_b32 s20, s0 
# |            573:  v_lshlrev_b32_e32 v2, 20, v2 
# |            574:  s_load_dwordx4 s[20:23], s[20:21], 0x0 
# |            575:  v_lshlrev_b32_e32 v1, 10, v1 
# | next:857'0                                   X error: no match found
# |            576:  s_movk_i32 s32, 0x200 
# | next:857'0      ~~~~~~~~~~~~~~~~~~~~~~~
# | next:857'1       ?                      possible intended match
# |            577:  s_mov_b32 s13, s9 
# | next:857'0      ~~~~~~~~~~~~~~~~~~~
# |            578:  s_mov_b32 s12, s8 
# | next:857'0      ~~~~~~~~~~~~~~~~~~~
# |            579:  s_mov_b64 s[8:9], s[4:5] 
# | next:857'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            580:  s_mov_b32 s4, s32 
# | next:857'0      ~~~~~~~~~~~~~~~~~~~
# |            581:  v_mov_b32_e32 v3, 42 
# | next:857'0      ~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            645: func_stacksave_stackrestore_call_with_stack_objects: ; @func_stacksave_stackrestore_call_with_stack_objects 
# | next:857'0      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            646: ; %bb.0: 
# |            647:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |            648:  s_mov_b32 s20, s33 
# |            649:  s_mov_b32 s33, s32 
# |            650:  s_xor_saveexec_b32 s16, -1 
# | next:1270'0                                X error: no match found
# |            651:  buffer_store_dword v32, off, s[0:3], s33 offset:4 ; 4-byte Folded Spill 
# | next:1270'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1270'1      ?                                                                        possible intended match
# |            652:  s_mov_b32 exec_lo, s16 
# | next:1270'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |            653:  v_writelane_b32 v32, s30, 0 
# | next:1270'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            654:  v_mov_b32_e32 v0, 42 
# | next:1270'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            655:  v_mov_b32_e32 v1, 17 
# | next:1270'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            656:  s_addk_i32 s32, 0x200 
# | next:1270'0     ~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/store-hi16.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx900 -mattr=-promote-alloca < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/store-hi16.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -allow-deprecated-dag-overlap -check-prefixes=GCN,GFX9,GFX9-MUBUF /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/store-hi16.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx900 -mattr=-promote-alloca
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -allow-deprecated-dag-overlap -check-prefixes=GCN,GFX9,GFX9-MUBUF /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/store-hi16.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/store-hi16.ll:621:20: error: GFX9-MUBUF-NEXT: expected string not found in input
# | ; GFX9-MUBUF-NEXT: buffer_store_short_d16_hi v0, off, s[0:3], s32 offset:4058
# |                    ^
# | <stdin>:1296:20: note: scanning from here
# |  s_waitcnt vmcnt(0)
# |                    ^
# | <stdin>:1333:1: note: possible intended match here
# | store_private_hi_v2i16_i8_to_offset: ; @store_private_hi_v2i16_i8_to_offset
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/store-hi16.ll:642:20: error: GFX9-MUBUF-NEXT: expected string not found in input
# | ; GFX9-MUBUF-NEXT: buffer_store_byte_d16_hi v0, off, s[0:3], s32 offset:4059
# |                    ^
# | <stdin>:1338:20: note: scanning from here
# |  s_waitcnt vmcnt(0)
# |                    ^
# | <stdin>:1341:51: note: possible intended match here
# |  .size store_private_hi_v2i16_i8_to_offset, .Lfunc_end32-store_private_hi_v2i16_i8_to_offset
# |                                                   ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/store-hi16.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |          1291: store_private_hi_v2i16_to_offset: ; @store_private_hi_v2i16_to_offset 
# |          1292: ; %bb.0: ; %entry 
# |          1293:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |          1294:  v_mov_b32_e32 v0, 0x7b 
# |          1295:  buffer_store_dword v0, v1, s[0:3], 0 offen 
# |          1296:  s_waitcnt vmcnt(0) 
# | next:621'0                        X error: no match found
# |          1297:  s_setpc_b64 s[30:31] 
# | next:621'0     ~~~~~~~~~~~~~~~~~~~~~~
# |          1298: .Lfunc_end31: 
# | next:621'0     ~~~~~~~~~~~~~~
# |          1299:  .size store_private_hi_v2i16_to_offset, .Lfunc_end31-store_private_hi_v2i16_to_offset 
# | next:621'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          1300:  ; -- End function 
# | next:621'0     ~~~~~~~~~~~~~~~~~~~
# |          1301:  .set store_private_hi_v2i16_to_offset.num_vgpr, 2 
# | next:621'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |          1328:  .long 0 
# | next:621'0     ~~~~~~~~~
# |          1329:  .text 
# | next:621'0     ~~~~~~~
# |          1330:  .globl store_private_hi_v2i16_i8_to_offset ; -- Begin function store_private_hi_v2i16_i8_to_offset 
# | next:621'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          1331:  .p2align 2 
# | next:621'0     ~~~~~~~~~~~~
# |          1332:  .type store_private_hi_v2i16_i8_to_offset,@function 
# | next:621'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          1333: store_private_hi_v2i16_i8_to_offset: ; @store_private_hi_v2i16_i8_to_offset 
# | next:621'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:621'1     ?                                                                            possible intended match
# |          1334: ; %bb.0: ; %entry 
# |          1335:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |          1336:  v_mov_b32_e32 v0, 0x7b 
# |          1337:  buffer_store_dword v0, v1, s[0:3], 0 offen 
# |          1338:  s_waitcnt vmcnt(0) 
# | next:642'0                        X error: no match found
# |          1339:  s_setpc_b64 s[30:31] 
# | next:642'0     ~~~~~~~~~~~~~~~~~~~~~~
# |          1340: .Lfunc_end32: 
# | next:642'0     ~~~~~~~~~~~~~~
# |          1341:  .size store_private_hi_v2i16_i8_to_offset, .Lfunc_end32-store_private_hi_v2i16_i8_to_offset 
# | next:642'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:642'1                                                       ?                                           possible intended match
# |          1342:  ; -- End function 
# | next:642'0     ~~~~~~~~~~~~~~~~~~~
# |          1343:  .set store_private_hi_v2i16_i8_to_offset.num_vgpr, 2 
# | next:642'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          1344:  .set store_private_hi_v2i16_i8_to_offset.num_agpr, 0 
# | next:642'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          1345:  .set store_private_hi_v2i16_i8_to_offset.numbered_sgpr, 32 
# | next:642'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          1346:  .set store_private_hi_v2i16_i8_to_offset.num_named_barrier, 0 
# | next:642'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.DebugInfo/AMDGPU/pointer-address-space.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -mtriple=amdgcn--amdhsa -mcpu=fiji -verify-machineinstrs -filetype=obj < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/AMDGPU/pointer-address-space.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-dwarfdump -v -debug-info - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/AMDGPU/pointer-address-space.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -mtriple=amdgcn--amdhsa -mcpu=fiji -verify-machineinstrs -filetype=obj
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-dwarfdump -v -debug-info -
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/AMDGPU/pointer-address-space.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/AMDGPU/pointer-address-space.ll:25:10: error: CHECK: expected string not found in input
# | ; CHECK: DW_AT_name {{.*}}"FuncVar2"
# |          ^
# | <stdin>:36:56: note: scanning from here
# |  DW_AT_type [DW_FORM_ref4] (cu + 0x006c => {0x0000006c} "int *")
# |                                                        ^
# | <stdin>:40:2: note: possible intended match here
# |  DW_AT_name [DW_FORM_strp] ( .debug_str[0x0000004f] = "FuncVar4")
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/AMDGPU/pointer-address-space.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            31: 0x00000053: DW_TAG_variable [3] (0x0000002f) 
# |            32:  DW_AT_const_value [DW_FORM_udata] (0) 
# |            33:  DW_AT_name [DW_FORM_strp] ( .debug_str[0x00000046] = "FuncVar1") 
# |            34:  DW_AT_decl_file [DW_FORM_data1] ("/some/random/directory/pointer-address-space.ll") 
# |            35:  DW_AT_decl_line [DW_FORM_data1] (3) 
# |            36:  DW_AT_type [DW_FORM_ref4] (cu + 0x006c => {0x0000006c} "int *") 
# | check:25'0                                                            X~~~~~~~~~ error: no match found
# |            37:  
# | check:25'0     ~
# |            38: 0x0000005f: DW_TAG_variable [3] (0x0000002f) 
# | check:25'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            39:  DW_AT_const_value [DW_FORM_udata] (0) 
# | check:25'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            40:  DW_AT_name [DW_FORM_strp] ( .debug_str[0x0000004f] = "FuncVar4") 
# | check:25'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:25'1      ?                                                                 possible intended match
# |            41:  DW_AT_decl_file [DW_FORM_data1] ("/some/random/directory/pointer-address-space.ll") 
# | check:25'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            42:  DW_AT_decl_line [DW_FORM_data1] (6) 
# | check:25'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            43:  DW_AT_type [DW_FORM_ref4] (cu + 0x006c => {0x0000006c} "int *") 
# | check:25'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            44:  
# | check:25'0     ~
# |            45: 0x0000006b: NULL 
# | check:25'0     ~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.DebugInfo/AMDGPU/variable-locations.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -mtriple=amdgcn-amd-amdhsa -mcpu=fiji -verify-machineinstrs -filetype=obj < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/AMDGPU/variable-locations.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-dwarfdump -v -debug-info - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/AMDGPU/variable-locations.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -O0 -mtriple=amdgcn-amd-amdhsa -mcpu=fiji -verify-machineinstrs -filetype=obj
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-dwarfdump -v -debug-info -
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/AMDGPU/variable-locations.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/AMDGPU/variable-locations.ll:39:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: DW_AT_location [DW_FORM_block1] (DW_OP_fbreg +0, DW_OP_lit1, DW_OP_swap, DW_OP_xderef)
# |               ^
# | <stdin>:46:36: note: scanning from here
# | 0x0000007b: DW_TAG_formal_parameter [5] (0x00000062)
# |                                    ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/DebugInfo/AMDGPU/variable-locations.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |          .
# |          .
# |          .
# |         41:  DW_AT_decl_file [DW_FORM_data1] ("/some/random/directory/variable-locations.cl") 
# |         42:  DW_AT_decl_line [DW_FORM_data1] (4) 
# |         43:  DW_AT_prototyped [DW_FORM_flag] (0x01) 
# |         44:  DW_AT_external [DW_FORM_flag] (0x01) 
# |         45:  
# |         46: 0x0000007b: DW_TAG_formal_parameter [5] (0x00000062) 
# | next:39                                        X~~~~~~~~~~~~~~~~~ error: no match found
# |         47:  DW_AT_name [DW_FORM_strp] ( .debug_str[0x0000005e] = "ArgA") 
# | next:39     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         48:  DW_AT_decl_file [DW_FORM_data1] ("/some/random/directory/variable-locations.cl") 
# | next:39     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         49:  DW_AT_decl_line [DW_FORM_data1] (4) 
# | next:39     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         50:  DW_AT_type [DW_FORM_ref4] (cu + 0x0092 => {0x00000092} "int *") 
# | next:39     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         51:  
# | next:39     ~
# |          .
# |          .
# |          .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.tools/UpdateTestChecks/update_llc_test_checks/amdgpu-isel-support.test
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 5
cp -f /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_isel.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/amdgpu-isel-support.test.tmp.ll && '/usr/bin/python3' /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/update_llc_test_checks.py --llc-binary /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --version=1 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/amdgpu-isel-support.test.tmp.ll
# executed command: cp -f /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_isel.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/amdgpu-isel-support.test.tmp.ll
# note: command had no output on stdout or stderr
# executed command: /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/update_llc_test_checks.py --llc-binary /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --version=1 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/amdgpu-isel-support.test.tmp.ll
# note: command had no output on stdout or stderr
# RUN: at line 6
cat /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_isel.ll.expected > /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/amdgpu-isel-support.test.tmp.expected.ll
# executed command: cat /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_isel.ll.expected
# note: command had no output on stdout or stderr
# RUN: at line 7
diff -u /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/amdgpu-isel-support.test.tmp.expected.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/amdgpu-isel-support.test.tmp.ll
# executed command: diff -u /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/amdgpu-isel-support.test.tmp.expected.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/amdgpu-isel-support.test.tmp.ll
# .---command stdout------------
# | --- /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/amdgpu-isel-support.test.tmp.expected.ll
# | +++ /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/amdgpu-isel-support.test.tmp.ll
# | @@ -3,20 +3,12 @@
# |  
# |  define i64 @i64_test(i64 %i) nounwind readnone {
# |  ; CHECK-LABEL: i64_test:
# | -; CHECK:       SelectionDAG has 26 nodes:
# | +; CHECK:       SelectionDAG has 9 nodes:
# |  ; CHECK-NEXT:    t0: ch,glue = EntryToken
# | -; CHECK-NEXT:    t2: i32,ch = CopyFromReg # D:1 t0, Register:i32 %8
# | -; CHECK-NEXT:    t4: i32,ch = CopyFromReg # D:1 t0, Register:i32 %9
# | -; CHECK-NEXT:    t51: i64 = REG_SEQUENCE # D:1 TargetConstant:i32<66>, t2, TargetConstant:i32<3>, t4, TargetConstant:i32<11>
# | -; CHECK-NEXT:    t27: i32,ch = BUFFER_LOAD_DWORD_OFFEN<Mem:(dereferenceable load (s32) from %ir.loc, align 8, addrspace 5)> TargetFrameIndex:i32<0>, Register:v4i32 $sgpr0_sgpr1_sgpr2_sgpr3, TargetConstant:i32<0>, TargetConstant:i32<0>, TargetConstant:i32<0>, TargetConstant:i1<0>, t0
# | -; CHECK-NEXT:    t30: i32,ch = BUFFER_LOAD_DWORD_OFFEN<Mem:(dereferenceable load (s32) from %ir.loc + 4, basealign 8, addrspace 5)> TargetFrameIndex:i32<0>, Register:v4i32 $sgpr0_sgpr1_sgpr2_sgpr3, TargetConstant:i32<0>, TargetConstant:i32<4>, TargetConstant:i32<0>, TargetConstant:i1<0>, t0
# | -; CHECK-NEXT:    t33: v2i32 = REG_SEQUENCE # D:1 TargetConstant:i32<42>, t27, TargetConstant:i32<3>, t30, TargetConstant:i32<11>
# | -; CHECK-NEXT:    t10: i64 = V_ADD_U64_PSEUDO # D:1 t51, t33
# | -; CHECK-NEXT:    t24: i32 = EXTRACT_SUBREG # D:1 t10, TargetConstant:i32<3>
# | -; CHECK-NEXT:    t17: ch,glue = CopyToReg # D:1 t0, Register:i32 $vgpr0, t24
# | -; CHECK-NEXT:    t39: i32 = EXTRACT_SUBREG # D:1 t10, TargetConstant:i32<11>
# | -; CHECK-NEXT:    t19: ch,glue = CopyToReg # D:1 t17, Register:i32 $vgpr1, t39, t17:1
# | -; CHECK-NEXT:    t20: ch = SI_RETURN Register:i32 $vgpr0, Register:i32 $vgpr1, t19, t19:1
# | +; CHECK-NEXT:    t13: ch,glue = CopyToReg t0, Register:i32 $vgpr0, IMPLICIT_DEF:i32
# | +; CHECK-NEXT:    t19: i32 = V_MOV_B32_e32 TargetConstant:i32<0>
# | +; CHECK-NEXT:    t15: ch,glue = CopyToReg t13, Register:i32 $vgpr1, t19, t13:1
# | +; CHECK-NEXT:    t16: ch = SI_RETURN Register:i32 $vgpr0, Register:i32 $vgpr1, t15, t15:1
# |  ; CHECK-EMPTY:
# |    %loc = alloca i64, addrspace(5)
# |    %j = load i64, ptr addrspace(5) %loc
# | @@ -26,15 +18,12 @@
# |  
# |  define i64 @i32_test(i32 %i) nounwind readnone {
# |  ; CHECK-LABEL: i32_test:
# | -; CHECK:       SelectionDAG has 15 nodes:
# | +; CHECK:       SelectionDAG has 8 nodes:
# | +; CHECK-NEXT:    t6: i32 = V_MOV_B32_e32 TargetConstant:i32<0>
# |  ; CHECK-NEXT:    t0: ch,glue = EntryToken
# | -; CHECK-NEXT:    t2: i32,ch = CopyFromReg # D:1 t0, Register:i32 %8
# | -; CHECK-NEXT:    t6: i32,ch = BUFFER_LOAD_DWORD_OFFEN<Mem:(dereferenceable load (s32) from %ir.loc, addrspace 5)> TargetFrameIndex:i32<0>, Register:v4i32 $sgpr0_sgpr1_sgpr2_sgpr3, TargetConstant:i32<0>, TargetConstant:i32<0>, TargetConstant:i32<0>, TargetConstant:i1<0>, t0
# | -; CHECK-NEXT:    t7: i32,i1 = V_ADD_CO_U32_e64 # D:1 t2, t6, TargetConstant:i1<0>
# | -; CHECK-NEXT:    t15: ch,glue = CopyToReg # D:1 t0, Register:i32 $vgpr0, t7
# | -; CHECK-NEXT:    t23: i32 = V_MOV_B32_e32 TargetConstant:i32<0>
# | -; CHECK-NEXT:    t17: ch,glue = CopyToReg t15, Register:i32 $vgpr1, t23, t15:1
# | -; CHECK-NEXT:    t18: ch = SI_RETURN Register:i32 $vgpr0, Register:i32 $vgpr1, t17, t17:1
# | +; CHECK-NEXT:    t9: ch,glue = CopyToReg t0, Register:i32 $vgpr0, t6
# | +; CHECK-NEXT:    t11: ch,glue = CopyToReg t9, Register:i32 $vgpr1, t6, t9:1
# | +; CHECK-NEXT:    t12: ch = SI_RETURN Register:i32 $vgpr0, Register:i32 $vgpr1, t11, t11:1
# |  ; CHECK-EMPTY:
# |    %loc = alloca i32, addrspace(5)
# |    %j = load i32, ptr addrspace(5) %loc
# | @@ -45,17 +34,12 @@
# |  
# |  define i64 @i16_test(i16 %i) nounwind readnone {
# |  ; CHECK-LABEL: i16_test:
# | -; CHECK:       SelectionDAG has 18 nodes:
# | +; CHECK:       SelectionDAG has 8 nodes:
# | +; CHECK-NEXT:    t7: i32 = V_MOV_B32_e32 TargetConstant:i32<0>
# |  ; CHECK-NEXT:    t0: ch,glue = EntryToken
# | -; CHECK-NEXT:    t2: i32,ch = CopyFromReg # D:1 t0, Register:i32 %8
# | -; CHECK-NEXT:    t20: i32,ch = BUFFER_LOAD_USHORT_OFFEN<Mem:(dereferenceable load (s16) from %ir.loc, addrspace 5)> TargetFrameIndex:i32<0>, Register:v4i32 $sgpr0_sgpr1_sgpr2_sgpr3, TargetConstant:i32<0>, TargetConstant:i32<0>, TargetConstant:i32<0>, TargetConstant:i1<0>, t0
# | -; CHECK-NEXT:    t21: i32,i1 = V_ADD_CO_U32_e64 # D:1 t2, t20, TargetConstant:i1<0>
# | -; CHECK-NEXT:    t25: i32 = S_MOV_B32 TargetConstant:i32<65535>
# | -; CHECK-NEXT:    t26: i32 = V_AND_B32_e64 # D:1 t21, t25
# | -; CHECK-NEXT:    t16: ch,glue = CopyToReg # D:1 t0, Register:i32 $vgpr0, t26
# | -; CHECK-NEXT:    t32: i32 = V_MOV_B32_e32 TargetConstant:i32<0>
# | -; CHECK-NEXT:    t18: ch,glue = CopyToReg t16, Register:i32 $vgpr1, t32, t16:1
# | -; CHECK-NEXT:    t19: ch = SI_RETURN Register:i32 $vgpr0, Register:i32 $vgpr1, t18, t18:1
# | +; CHECK-NEXT:    t10: ch,glue = CopyToReg t0, Register:i32 $vgpr0, t7
# | +; CHECK-NEXT:    t12: ch,glue = CopyToReg t10, Register:i32 $vgpr1, t7, t10:1
# | +; CHECK-NEXT:    t13: ch = SI_RETURN Register:i32 $vgpr0, Register:i32 $vgpr1, t12, t12:1
# |  ; CHECK-EMPTY:
# |    %loc = alloca i16, addrspace(5)
# |    %j = load i16, ptr addrspace(5) %loc
# | @@ -66,17 +50,12 @@
# |  
# |  define i64 @i8_test(i8 %i) nounwind readnone {
# |  ; CHECK-LABEL: i8_test:
# | -; CHECK:       SelectionDAG has 18 nodes:
# | +; CHECK:       SelectionDAG has 8 nodes:
# | +; CHECK-NEXT:    t7: i32 = V_MOV_B32_e32 TargetConstant:i32<0>
# |  ; CHECK-NEXT:    t0: ch,glue = EntryToken
# | -; CHECK-NEXT:    t2: i32,ch = CopyFromReg # D:1 t0, Register:i32 %8
# | -; CHECK-NEXT:    t20: i32,ch = BUFFER_LOAD_UBYTE_OFFEN<Mem:(dereferenceable load (s8) from %ir.loc, addrspace 5)> TargetFrameIndex:i32<0>, Register:v4i32 $sgpr0_sgpr1_sgpr2_sgpr3, TargetConstant:i32<0>, TargetConstant:i32<0>, TargetConstant:i32<0>, TargetConstant:i1<0>, t0
# | -; CHECK-NEXT:    t21: i32,i1 = V_ADD_CO_U32_e64 # D:1 t2, t20, TargetConstant:i1<0>
# | -; CHECK-NEXT:    t25: i32 = S_MOV_B32 TargetConstant:i32<255>
# | -; CHECK-NEXT:    t26: i32 = V_AND_B32_e64 # D:1 t21, t25
# | -; CHECK-NEXT:    t16: ch,glue = CopyToReg # D:1 t0, Register:i32 $vgpr0, t26
# | -; CHECK-NEXT:    t32: i32 = V_MOV_B32_e32 TargetConstant:i32<0>
# | -; CHECK-NEXT:    t18: ch,glue = CopyToReg t16, Register:i32 $vgpr1, t32, t16:1
# | -; CHECK-NEXT:    t19: ch = SI_RETURN Register:i32 $vgpr0, Register:i32 $vgpr1, t18, t18:1
# | +; CHECK-NEXT:    t10: ch,glue = CopyToReg t0, Register:i32 $vgpr0, t7
# | +; CHECK-NEXT:    t12: ch,glue = CopyToReg t10, Register:i32 $vgpr1, t7, t10:1
# | +; CHECK-NEXT:    t13: ch = SI_RETURN Register:i32 $vgpr0, Register:i32 $vgpr1, t12, t12:1
# |  ; CHECK-EMPTY:
# |    %loc = alloca i8, addrspace(5)
# |    %j = load i8, ptr addrspace(5) %loc
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.tools/UpdateTestChecks/update_llc_test_checks/amdgpu_generated_funcs.test
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
cp -f /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_generated_funcs.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/amdgpu_generated_funcs.test.tmp.ll && '/usr/bin/python3' /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/update_llc_test_checks.py --llc-binary /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --version=1 --include-generated-funcs /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/amdgpu_generated_funcs.test.tmp.ll
# executed command: cp -f /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_generated_funcs.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/amdgpu_generated_funcs.test.tmp.ll
# note: command had no output on stdout or stderr
# executed command: /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/utils/update_llc_test_checks.py --llc-binary /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --version=1 --include-generated-funcs /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/amdgpu_generated_funcs.test.tmp.ll
# note: command had no output on stdout or stderr
# RUN: at line 5
diff -u /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/amdgpu_generated_funcs.test.tmp.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_generated_funcs.ll.generated.expected
# executed command: diff -u /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/amdgpu_generated_funcs.test.tmp.ll /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_generated_funcs.ll.generated.expected
# .---command stdout------------
# | --- /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/UpdateTestChecks/update_llc_test_checks/Output/amdgpu_generated_funcs.test.tmp.ll
# | +++ /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/amdgpu_generated_funcs.ll.generated.expected
# | @@ -70,10 +70,40 @@
# |  ; CHECK-NEXT:    .cfi_startproc
# |  ; CHECK-NEXT:  ; %bb.0:
# |  ; CHECK-NEXT:    s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# | -; CHECK-NEXT:    s_mov_b32 s4, s33
# | +; CHECK-NEXT:    s_mov_b32 s8, s33
# |  ; CHECK-NEXT:    s_mov_b32 s33, s32
# | +; CHECK-NEXT:    s_addk_i32 s32, 0x600
# | +; CHECK-NEXT:    v_mov_b32_e32 v4, 0
# | +; CHECK-NEXT:    v_mov_b32_e32 v0, 1
# | +; CHECK-NEXT:    v_mov_b32_e32 v1, 2
# | +; CHECK-NEXT:    v_mov_b32_e32 v2, 3
# | +; CHECK-NEXT:    v_mov_b32_e32 v3, 4
# | +; CHECK-NEXT:    buffer_store_dword v4, off, s[0:3], s33
# | +; CHECK-NEXT:    buffer_store_dword v0, off, s[0:3], s33 offset:4
# | +; CHECK-NEXT:    buffer_store_dword v1, off, s[0:3], s33 offset:8
# | +; CHECK-NEXT:    buffer_store_dword v2, off, s[0:3], s33 offset:12
# | +; CHECK-NEXT:    buffer_store_dword v3, off, s[0:3], s33 offset:16
# | +; CHECK-NEXT:    s_mov_b64 s[4:5], 0
# | +; CHECK-NEXT:    s_and_saveexec_b64 s[6:7], s[4:5]
# | +; CHECK-NEXT:    s_xor_b64 s[4:5], exec, s[6:7]
# | +; CHECK-NEXT:    s_cbranch_execz .LBB0_2
# | +; CHECK-NEXT:  ; %bb.1:
# | +; CHECK-NEXT:    buffer_store_dword v0, off, s[0:3], s33 offset:4
# | +; CHECK-NEXT:    buffer_store_dword v1, off, s[0:3], s33 offset:8
# | +; CHECK-NEXT:    buffer_store_dword v2, off, s[0:3], s33 offset:12
# | +; CHECK-NEXT:    buffer_store_dword v3, off, s[0:3], s33 offset:16
# | +; CHECK-NEXT:  .LBB0_2: ; %Flow
# | +; CHECK-NEXT:    s_andn2_saveexec_b64 s[4:5], s[4:5]
# | +; CHECK-NEXT:    s_cbranch_execz .LBB0_4
# | +; CHECK-NEXT:  ; %bb.3:
# | +; CHECK-NEXT:    v_mov_b32_e32 v0, 1
# | +; CHECK-NEXT:    buffer_store_dword v0, off, s[0:3], s33 offset:12
# | +; CHECK-NEXT:  .LBB0_4:
# | +; CHECK-NEXT:    s_or_b64 exec, exec, s[4:5]
# |  ; CHECK-NEXT:    v_mov_b32_e32 v0, 0
# | -; CHECK-NEXT:    s_mov_b32 s33, s4
# | +; CHECK-NEXT:    s_mov_b32 s32, s33
# | +; CHECK-NEXT:    s_mov_b32 s33, s8
# | +; CHECK-NEXT:    s_waitcnt vmcnt(0)
# |  ; CHECK-NEXT:    s_setpc_b64 s[30:31]
# |  ;
# |  ; CHECK-LABEL: main:
# | @@ -84,16 +114,31 @@
# |  ; CHECK-NEXT:    s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# |  ; CHECK-NEXT:    s_mov_b32 s6, s33
# |  ; CHECK-NEXT:    s_mov_b32 s33, s32
# | +; CHECK-NEXT:    s_addk_i32 s32, 0x600
# | +; CHECK-NEXT:    v_mov_b32_e32 v0, 0
# |  ; CHECK-NEXT:    s_getpc_b64 s[4:5]
# |  ; CHECK-NEXT:    s_add_u32 s4, s4, x@rel32@lo+4
# |  ; CHECK-NEXT:    s_addc_u32 s5, s5, x@rel32@hi+12
# |  ; CHECK-NEXT:    v_mov_b32_e32 v2, 1
# | +; CHECK-NEXT:    v_mov_b32_e32 v3, 2
# | +; CHECK-NEXT:    v_mov_b32_e32 v4, 3
# | +; CHECK-NEXT:    v_mov_b32_e32 v5, 4
# | +; CHECK-NEXT:    buffer_store_dword v0, off, s[0:3], s33
# | +; CHECK-NEXT:    buffer_store_dword v2, off, s[0:3], s33 offset:4
# | +; CHECK-NEXT:    buffer_store_dword v3, off, s[0:3], s33 offset:8
# | +; CHECK-NEXT:    buffer_store_dword v4, off, s[0:3], s33 offset:12
# | +; CHECK-NEXT:    buffer_store_dword v5, off, s[0:3], s33 offset:16
# |  ; CHECK-NEXT:    v_mov_b32_e32 v0, s4
# |  ; CHECK-NEXT:    v_mov_b32_e32 v1, s5
# |  ; CHECK-NEXT:    flat_store_dword v[0:1], v2
# |  ; CHECK-NEXT:    ;;#ASMSTART
# |  ; CHECK-NEXT:    ;;#ASMEND
# | +; CHECK-NEXT:    buffer_store_dword v2, off, s[0:3], s33 offset:4
# | +; CHECK-NEXT:    buffer_store_dword v3, off, s[0:3], s33 offset:8
# | +; CHECK-NEXT:    buffer_store_dword v4, off, s[0:3], s33 offset:12
# |  ; CHECK-NEXT:    v_mov_b32_e32 v0, 0
# | +; CHECK-NEXT:    buffer_store_dword v5, off, s[0:3], s33 offset:16
# | +; CHECK-NEXT:    s_mov_b32 s32, s33
# |  ; CHECK-NEXT:    s_mov_b32 s33, s6
# |  ; CHECK-NEXT:    s_waitcnt vmcnt(0) lgkmcnt(0)
# |  ; CHECK-NEXT:    s_setpc_b64 s[30:31]
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.tools/llvm-objdump/ELF/AMDGPU/source-lines.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
sed -e "s,SRC_COMPDIR,/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-objdump/ELF/AMDGPU/Inputs,g" /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-objdump/ELF/AMDGPU/source-lines.ll > /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-objdump/ELF/AMDGPU/Output/source-lines.ll.tmp.ll
# executed command: sed -e s,SRC_COMPDIR,/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-objdump/ELF/AMDGPU/Inputs,g /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-objdump/ELF/AMDGPU/source-lines.ll
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx802 -filetype=obj -O0 -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-objdump/ELF/AMDGPU/Output/source-lines.ll.tmp.o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-objdump/ELF/AMDGPU/Output/source-lines.ll.tmp.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx802 -filetype=obj -O0 -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-objdump/ELF/AMDGPU/Output/source-lines.ll.tmp.o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-objdump/ELF/AMDGPU/Output/source-lines.ll.tmp.ll
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-objdump --triple=amdgcn-amd-amdhsa --mcpu=gfx802 -d -l /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-objdump/ELF/AMDGPU/Output/source-lines.ll.tmp.o | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=LINE /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-objdump/ELF/AMDGPU/Output/source-lines.ll.tmp.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-objdump --triple=amdgcn-amd-amdhsa --mcpu=gfx802 -d -l /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-objdump/ELF/AMDGPU/Output/source-lines.ll.tmp.o
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=LINE /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-objdump/ELF/AMDGPU/Output/source-lines.ll.tmp.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-objdump/ELF/AMDGPU/Output/source-lines.ll.tmp.ll:8:14: error: LINE-NEXT: expected string not found in input
# | ; LINE-NEXT: ; source_lines_test():
# |              ^
# | <stdin>:6:38: note: scanning from here
# | 0000000000000000 <source_lines_test>:
# |                                      ^
# | <stdin>:7:1: note: possible intended match here
# | ; source_lines_test.kd():
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-objdump/ELF/AMDGPU/Output/source-lines.ll.tmp.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           1:  
# |           2: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/tools/llvm-objdump/ELF/AMDGPU/Output/source-lines.ll.tmp.o: file format elf64-amdgpu 
# |           3:  
# |           4: Disassembly of section .text: 
# |           5:  
# |           6: 0000000000000000 <source_lines_test>: 
# | next:8'0                                          X error: no match found
# |           7: ; source_lines_test.kd(): 
# | next:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:8'1     ?                          possible intended match
# |           8: ; /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/tools/llvm-objdump/ELF/AMDGPU/Inputs/source-lines.cl:1 
# | next:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           9:  s_mov_b32 s33, 0 // 000000000000: BEA10080 
# | next:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          10:  s_mov_b32 flat_scratch_lo, s13 // 000000000004: BEE6000D 
# | next:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          11:  s_add_i32 s12, s12, s17 // 000000000008: 810C110C 
# | next:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          12:  s_lshr_b32 flat_scratch_hi, s12, 8 // 00000000000C: 8F67880C 
# | next:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           .
# |           .
# |           .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the infrastructure label.

AMDGPU code generation frequently creates tensor and address descriptors using sequences of insertelement instructions. When these patterns have significant field reuse or cross-iteration dependencies, the current approach generates inefficient REG_SEQUENCE operations in MIR, instead of INSERT_SUBREG chains, leading to suboptimal register allocation.

This PR introduces the AMDGPUTDMOptimization pass that:

- Pattern Detection: Identifies descriptor creation chains with reusable constant fields
- Grouping: Groups similar patterns to maximize optimization opportunities
- Transformation: Converts insertelement chains to alloca + field updates in address space 5
- Integration: Works with SROA to generate INSERT_SUBREG operations for optimal register allocation
Comment on lines +216 to +217
for (auto &BB : F) {
for (auto &I : BB) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can remove one of the loops by using llvm::instructions() from InstIterator.h

Suggested change
for (auto &BB : F) {
for (auto &I : BB) {
for (auto &I : instructions(F)) {

<< " constant fields\n");

DetectedPatterns.push_back(std::move(Pattern));
FoundPatterns = true;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can remove FoundPatterns. It's equal to !DetectedPatterns.empty().

Comment on lines +318 to +325
if (isa<Constant>(Base))
return Base;

// For shufflevector results, we might want to trace further back
if (auto *SV = dyn_cast<ShuffleVectorInst>(Base))
return SV; // Keep shufflevector as base for now

return Base;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All this code is equivalent to return Base at the moment, right ?

Suggested change
if (isa<Constant>(Base))
return Base;
// For shufflevector results, we might want to trace further back
if (auto *SV = dyn_cast<ShuffleVectorInst>(Base))
return SV; // Keep shufflevector as base for now
return Base;
return Base;

If you're thinking about "we might want to trace further back". Sure, but let's keep that for a future PR and keep this one as simple as possible.

SmallBitVector FieldSet(NumElements, false);

for (auto *IE : Chain) {
if (auto *CI = dyn_cast<ConstantInt>(IE->getOperand(2))) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens if one of the indices is dynamic and not a constant ?

Comment on lines +332 to +334
//===----------------------------------------------------------------------===//
// Pattern Grouping
//===----------------------------------------------------------------------===//
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a very subjective take, but I find problematic the use of comments for structuring code.

I find that carefully choosing the name of the functions better (which you did actually).

Somebody will add code below, that is not related to "pattern grouping" and the comment will add to the confusion.


// Try to add to existing group
for (auto &Group : OptimizationGroups) {
if (Group.SharedType == Pattern.DescType &&
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this condition is redundant with the first condition in arePatternsSimilar.

      if (Group.SharedType == Pattern.DescType &&

If instead of doing arePatternsSimilar we had a function bool isPatternInGroup(const DescriptorGroup &G, const DescriptorPattern &Patter) the code would be clearer; since you would be able to sink the condition in the function and remove it.

Comment on lines +354 to +355
NewGroup.SharedType = Pattern.DescType;
NewGroup.SharedBase = Pattern.BaseValue;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since SharedType and SharedBase seem to always alias Group.Patterns[0].DescType and Group.Patterns[0].BaseValue; I'd add a method to DescriptorGroup that computes them from the first pattern.

// Create alloca in address space 5 (AMDGPU private memory)
auto *StorageType = Group.SharedType;
auto *Storage = Builder.CreateAlloca(
StorageType, /*AddrSpace=*/5, /*ArraySize=*/nullptr, "tdm_desc_storage");
Copy link
Contributor

@jmmartinez jmmartinez Dec 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't create alloca instructions outside of the Function's entry block (specially if they have a constant known size).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And don't hardcode the address space, take from the datalayout (or at least use the enum)

Comment on lines +435 to +436
if (!SharedStorage)
return false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

createSharedStorage always returns something right ?

// Add TDM Descriptor Optimization + SROA sequence
if (EnableTDMOptimization) {
addPass(createAMDGPUTDMOptimizationPass()); // Create alloca patterns
addPass(createSROAPass()); // Convert to INSERT_SUBREG
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not want to introduce a run of SROA into the backend pipeline. We just managed to finally remove it. I also don't follow how this is "convert to INSERT_SUBREG".

FunctionPass *createAMDGPUTDMOptimizationPass() {
return new AMDGPUTDMOptimization();
}
} // namespace llvm No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing newline error

// Create alloca in address space 5 (AMDGPU private memory)
auto *StorageType = Group.SharedType;
auto *Storage = Builder.CreateAlloca(
StorageType, /*AddrSpace=*/5, /*ArraySize=*/nullptr, "tdm_desc_storage");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And don't hardcode the address space, take from the datalayout (or at least use the enum)

BasicBlock *StorageLocation = Group.Patterns[0].Location;

// If patterns are in a loop, try to hoist storage outside loop
if (auto *Loop = Group.Patterns[0].ContainingLoop) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove all the autos. LLVM policy is supposed to be almost never auto

return false;

unsigned NumElements = VecTy->getNumElements();
return NumElements == 4 || NumElements == 8; // Address or tensor descriptors
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this another case that really should be a fat pointer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants